Index: src/x64/lithium-codegen-x64.cc |
=================================================================== |
--- src/x64/lithium-codegen-x64.cc (revision 7153) |
+++ src/x64/lithium-codegen-x64.cc (working copy) |
@@ -1225,7 +1225,7 @@ |
__ j(equal, true_label); |
__ CompareRoot(reg, Heap::kFalseValueRootIndex); |
__ j(equal, false_label); |
- __ SmiCompare(reg, Smi::FromInt(0)); |
+ __ Cmp(reg, Smi::FromInt(0)); |
__ j(equal, false_label); |
__ JumpIfSmi(reg, true_label); |
@@ -2177,8 +2177,8 @@ |
// Check for arguments adapter frame. |
NearLabel done, adapted; |
__ movq(result, Operand(rbp, StandardFrameConstants::kCallerFPOffset)); |
- __ SmiCompare(Operand(result, StandardFrameConstants::kContextOffset), |
- Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR)); |
+ __ Cmp(Operand(result, StandardFrameConstants::kContextOffset), |
+ Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR)); |
__ j(equal, &adapted); |
// No arguments adaptor frame. |
@@ -3611,15 +3611,15 @@ |
// Skip the arguments adaptor frame if it exists. |
NearLabel check_frame_marker; |
- __ SmiCompare(Operand(temp, StandardFrameConstants::kContextOffset), |
- Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR)); |
+ __ Cmp(Operand(temp, StandardFrameConstants::kContextOffset), |
+ Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR)); |
__ j(not_equal, &check_frame_marker); |
__ movq(temp, Operand(rax, StandardFrameConstants::kCallerFPOffset)); |
// Check the marker in the calling frame. |
__ bind(&check_frame_marker); |
- __ SmiCompare(Operand(temp, StandardFrameConstants::kMarkerOffset), |
- Smi::FromInt(StackFrame::CONSTRUCT)); |
+ __ Cmp(Operand(temp, StandardFrameConstants::kMarkerOffset), |
+ Smi::FromInt(StackFrame::CONSTRUCT)); |
} |