Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index c1d2ae01f15af7e984770eb79e170e90e6ef7ae6..2fc185ce63cc5ae6050b9eff43fd8fb6abcd32a3 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -163,7 +163,7 @@ void FullCodeGenerator::Generate() { |
__ Subu(t5, sp, Operand(locals_count * kPointerSize)); |
__ LoadRoot(a2, Heap::kRealStackLimitRootIndex); |
__ Branch(&ok, hs, t5, Operand(a2)); |
- __ InvokeBuiltin(Builtins::STACK_OVERFLOW, CALL_FUNCTION); |
+ __ InvokeBuiltin(Context::STACK_OVERFLOW_BUILTIN_INDEX, CALL_FUNCTION); |
__ bind(&ok); |
} |
__ LoadRoot(t5, Heap::kUndefinedValueRootIndex); |
@@ -1907,7 +1907,8 @@ void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) { |
__ Push(v0); |
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); |
@@ -5076,7 +5077,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); |
__ LoadRoot(t0, Heap::kTrueValueRootIndex); |
Split(eq, v0, Operand(t0), if_true, if_false, fall_through); |