| Index: src/full-codegen/x64/full-codegen-x64.cc
|
| diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc
|
| index 45de789b9e6368ee5fc1a8005380d20d5762c3b5..39d4f0cf7411ac21a1426016d6e71e5c9879162a 100644
|
| --- a/src/full-codegen/x64/full-codegen-x64.cc
|
| +++ b/src/full-codegen/x64/full-codegen-x64.cc
|
| @@ -148,7 +148,7 @@ void FullCodeGenerator::Generate() {
|
| __ subp(rcx, Immediate(locals_count * kPointerSize));
|
| __ CompareRoot(rcx, Heap::kRealStackLimitRootIndex);
|
| __ j(above_equal, &ok, Label::kNear);
|
| - __ InvokeBuiltin(Builtins::STACK_OVERFLOW, CALL_FUNCTION);
|
| + __ InvokeBuiltin(Context::STACK_OVERFLOW_BUILTIN_INDEX, CALL_FUNCTION);
|
| __ bind(&ok);
|
| }
|
| __ LoadRoot(rdx, Heap::kUndefinedValueRootIndex);
|
| @@ -1866,7 +1866,8 @@ void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) {
|
| __ Push(rax);
|
| 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);
|
| @@ -4998,7 +4999,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(rax, Heap::kTrueValueRootIndex);
|
| Split(equal, if_true, if_false, fall_through);
|
|
|