Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions jerry-core/ecma/operations/ecma-comparison.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,8 @@ ecma_op_abstract_relational_compare (ecma_value_t x, /**< first operand */
ecma_op_to_primitive (second_converted_value, ECMA_PREFERRED_TYPE_NUMBER),
ret_value);

const ecma_value_t &px = left_first ? prim_first_converted_value : prim_second_converted_value;
const ecma_value_t &py = left_first ? prim_second_converted_value : prim_first_converted_value;
const ecma_value_t px = left_first ? prim_first_converted_value : prim_second_converted_value;
const ecma_value_t py = left_first ? prim_second_converted_value : prim_first_converted_value;

const bool is_px_string = ecma_is_value_string (px);
const bool is_py_string = ecma_is_value_string (py);
Expand Down