Index: src/arm/full-codegen-arm.cc |
=================================================================== |
--- src/arm/full-codegen-arm.cc (revision 5810) |
+++ src/arm/full-codegen-arm.cc (working copy) |
@@ -36,6 +36,7 @@ |
#include "full-codegen.h" |
#include "parser.h" |
#include "scopes.h" |
+#include "stub-cache.h" |
namespace v8 { |
namespace internal { |
@@ -1698,7 +1699,7 @@ |
SetSourcePosition(expr->position(), FORCED_POSITION); |
// Call the IC initialization code. |
InLoopFlag in_loop = (loop_depth() > 0) ? IN_LOOP : NOT_IN_LOOP; |
- Handle<Code> ic = CodeGenerator::ComputeCallInitialize(arg_count, in_loop); |
+ Handle<Code> ic = StubCache::ComputeCallInitialize(arg_count, in_loop); |
EmitCallIC(ic, mode); |
// Restore context register. |
__ ldr(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |
@@ -1723,8 +1724,7 @@ |
SetSourcePosition(expr->position(), FORCED_POSITION); |
// Call the IC initialization code. |
InLoopFlag in_loop = (loop_depth() > 0) ? IN_LOOP : NOT_IN_LOOP; |
- Handle<Code> ic = CodeGenerator::ComputeKeyedCallInitialize(arg_count, |
- in_loop); |
+ Handle<Code> ic = StubCache::ComputeKeyedCallInitialize(arg_count, in_loop); |
EmitCallIC(ic, mode); |
// Restore context register. |
__ ldr(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |
@@ -2794,8 +2794,7 @@ |
if (expr->is_jsruntime()) { |
// Call the JS runtime function. |
__ mov(r2, Operand(expr->name())); |
- Handle<Code> ic = CodeGenerator::ComputeCallInitialize(arg_count, |
- NOT_IN_LOOP); |
+ Handle<Code> ic = StubCache::ComputeCallInitialize(arg_count, NOT_IN_LOOP); |
EmitCallIC(ic, RelocInfo::CODE_TARGET); |
// Restore context register. |
__ ldr(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |