| Index: src/x64/full-codegen-x64.cc
|
| ===================================================================
|
| --- src/x64/full-codegen-x64.cc (revision 5810)
|
| +++ src/x64/full-codegen-x64.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 {
|
| @@ -1727,8 +1728,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.
|
| __ movq(rsi, Operand(rbp, StandardFrameConstants::kContextOffset));
|
| @@ -1753,8 +1753,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.
|
| __ movq(rsi, Operand(rbp, StandardFrameConstants::kContextOffset));
|
| @@ -2815,7 +2814,7 @@
|
| // Call the JS runtime function using a call IC.
|
| __ Move(rcx, 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.
|
| __ movq(rsi, Operand(rbp, StandardFrameConstants::kContextOffset));
|
|
|