Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index 85a167b42506878275a46e77989bbcb6d166563f..e221492bf0a3449b9fd6236171252093cb2a12d5 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -151,7 +151,7 @@ void FullCodeGenerator::Generate() { |
ExternalReference::address_of_real_stack_limit(isolate()); |
__ cmp(ecx, Operand::StaticVariable(stack_limit)); |
__ j(above_equal, &ok, Label::kNear); |
- __ InvokeBuiltin(Builtins::STACK_OVERFLOW, CALL_FUNCTION); |
+ __ InvokeBuiltin(Context::STACK_OVERFLOW_BUILTIN_INDEX, CALL_FUNCTION); |
__ bind(&ok); |
} |
__ mov(eax, Immediate(isolate()->factory()->undefined_value())); |
@@ -1832,7 +1832,8 @@ void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) { |
__ Push(eax); |
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); |
@@ -4980,7 +4981,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); |
__ cmp(eax, isolate()->factory()->true_value()); |
Split(equal, if_true, if_false, fall_through); |