Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index 1eef47c0edda1fe6e63b2ab0c474f8a0a804a9eb..598d8e9f6e2af813515a1d6a70591757c6d32318 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -156,7 +156,7 @@ void FullCodeGenerator::Generate() { |
__ LoadRoot(r2, Heap::kRealStackLimitRootIndex); |
__ cmp(r9, Operand(r2)); |
__ b(hs, &ok); |
- __ InvokeBuiltin(Builtins::STACK_OVERFLOW, CALL_FUNCTION); |
+ __ InvokeBuiltin(Context::STACK_OVERFLOW_BUILTIN_INDEX, CALL_FUNCTION); |
__ bind(&ok); |
} |
__ LoadRoot(r9, Heap::kUndefinedValueRootIndex); |
@@ -1908,7 +1908,8 @@ void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) { |
__ Push(r0); |
if (subexpr->IsSpread()) { |
VisitForStackValue(subexpr->AsSpread()->expression()); |
- __ InvokeBuiltin(Builtins::CONCAT_ITERABLE_TO_ARRAY, CALL_FUNCTION); |
+ __ InvokeBuiltin(Context::CONCAT_ITERABLE_TO_ARRAY_BUILTIN_INDEX, |
+ CALL_FUNCTION); |
} else { |
VisitForStackValue(subexpr); |
__ CallRuntime(Runtime::kAppendElement, 2); |
@@ -5049,7 +5050,7 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) { |
switch (op) { |
case Token::IN: |
VisitForStackValue(expr->right()); |
- __ InvokeBuiltin(Builtins::IN, CALL_FUNCTION); |
+ __ InvokeBuiltin(Context::IN_BUILTIN_INDEX, CALL_FUNCTION); |
PrepareForBailoutBeforeSplit(expr, false, NULL, NULL); |
__ CompareRoot(r0, Heap::kTrueValueRootIndex); |
Split(eq, if_true, if_false, fall_through); |