Index: src/stub-cache.h |
diff --git a/src/stub-cache.h b/src/stub-cache.h |
index bf10baee6d1ee2782a1457d68127b4f9fd04e269..2db992b759c0a029a4caff6528a23262501450a7 100644 |
--- a/src/stub-cache.h |
+++ b/src/stub-cache.h |
@@ -472,7 +472,7 @@ class NamedLoadHandlerCompiler : public PropertyHandlerCompiler { |
Handle<Code> CompileLoadCallback(Handle<Name> name, |
const CallOptimization& call_optimization); |
- Handle<Code> CompileLoadConstant(Handle<Name> name, Handle<Object> value); |
+ Handle<Code> CompileLoadConstant(Handle<Name> name, int constant_index); |
Handle<Code> CompileLoadInterceptor(Handle<Name> name); |
@@ -522,6 +522,7 @@ class NamedLoadHandlerCompiler : public PropertyHandlerCompiler { |
void GenerateLoadField(Register reg, |
FieldIndex field, |
Representation representation); |
+ void GenerateLoadConstant(Register reg, int constant_index); |
void GenerateLoadConstant(Handle<Object> value); |
void GenerateLoadCallback(Register reg, |
Handle<ExecutableAccessorInfo> callback); |