Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index c15860c7d9ed7dfc911f0f1ff4192b9527b28ce3..22561001c7374bde4197615dc2e7c20042be6c28 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -767,7 +767,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
// Get the current entry of the array into register rbx. |
__ movq(rbx, Operand(rsp, 2 * kPointerSize)); |
- SmiIndex index = __ SmiToIndex(rax, rax, kPointerSizeLog2); |
+ SmiIndex index = masm()->SmiToIndex(rax, rax, kPointerSizeLog2); |
__ movq(rbx, FieldOperand(rbx, |
index.reg, |
index.scale, |
@@ -1407,7 +1407,7 @@ void FullCodeGenerator::EmitInlineSmiBinaryOp(Expression* expr, |
Label done, stub_call, smi_case; |
__ pop(rdx); |
__ movq(rcx, rax); |
- Condition smi = __ CheckBothSmi(rdx, rax); |
+ Condition smi = masm()->CheckBothSmi(rdx, rax); |
__ j(smi, &smi_case); |
__ bind(&stub_call); |
@@ -1965,8 +1965,8 @@ void FullCodeGenerator::EmitIsNonNegativeSmi(ZoneList<Expression*>* args) { |
context()->PrepareTest(&materialize_true, &materialize_false, |
&if_true, &if_false, &fall_through); |
- Condition positive_smi = __ CheckPositiveSmi(rax); |
- Split(positive_smi, if_true, if_false, fall_through); |
+ Condition non_negative_smi = masm()->CheckNonNegativeSmi(rax); |
+ Split(non_negative_smi, if_true, if_false, fall_through); |
context()->Plug(if_true, if_false); |
} |