Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index 6bca4a6826c6bd5aecf5689c269bd3c63e3ac660..7f5c1332fbbeb3c3ab30e9d8f2fee793f0f4225e 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -161,7 +161,7 @@ void FullCodeGenerator::Generate() { |
__ LoadRoot(r5, Heap::kRealStackLimitRootIndex); |
__ cmpl(ip, r5); |
__ bc_short(ge, &ok); |
- __ InvokeBuiltin(Builtins::STACK_OVERFLOW, CALL_FUNCTION); |
+ __ InvokeBuiltin(Context::STACK_OVERFLOW_BUILTIN_INDEX, CALL_FUNCTION); |
__ bind(&ok); |
} |
__ LoadRoot(ip, Heap::kUndefinedValueRootIndex); |
@@ -1868,7 +1868,8 @@ void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) { |
__ Push(r3); |
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); |
@@ -5067,7 +5068,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(ip, Heap::kTrueValueRootIndex); |
__ cmp(r3, ip); |