Index: src/ia32/full-codegen-ia32.cc |
=================================================================== |
--- src/ia32/full-codegen-ia32.cc (revision 5810) |
+++ src/ia32/full-codegen-ia32.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 { |
@@ -2005,7 +2006,7 @@ |
// Record source position of the IC call. |
SetSourcePosition(expr->position(), FORCED_POSITION); |
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. |
__ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); |
@@ -2029,8 +2030,7 @@ |
// Record source position of the IC call. |
SetSourcePosition(expr->position(), FORCED_POSITION); |
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. |
__ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); |
@@ -3103,7 +3103,7 @@ |
// Call the JS runtime function via a call IC. |
__ Set(ecx, Immediate(expr->name())); |
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, RelocInfo::CODE_TARGET); |
// Restore context register. |
__ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); |