Index: src/stub-cache.h |
=================================================================== |
--- src/stub-cache.h (revision 4394) |
+++ src/stub-cache.h (working copy) |
@@ -56,6 +56,8 @@ |
// Computes the right stub matching. Inserts the result in the |
// cache before returning. This might compile a stub if needed. |
+ static Object* ComputeLoadNonExisting(String* name, JSObject* receiver); |
+ |
static Object* ComputeLoadField(String* name, |
JSObject* receiver, |
JSObject* holder, |
@@ -461,22 +463,28 @@ |
class LoadStubCompiler: public StubCompiler { |
public: |
+ Object* CompileLoadNonExisting(JSObject* object); |
+ |
Object* CompileLoadField(JSObject* object, |
JSObject* holder, |
int index, |
String* name); |
+ |
Object* CompileLoadCallback(String* name, |
JSObject* object, |
JSObject* holder, |
AccessorInfo* callback); |
+ |
Object* CompileLoadConstant(JSObject* object, |
JSObject* holder, |
Object* value, |
String* name); |
+ |
Object* CompileLoadInterceptor(JSObject* object, |
JSObject* holder, |
String* name); |
+ |
Erik Corry
2010/04/13 19:18:37
Extra blank line?
Mads Ager (chromium)
2010/04/14 06:26:10
Good catch, removed.
|
Object* CompileLoadGlobal(JSObject* object, |
GlobalObject* holder, |
JSGlobalPropertyCell* cell, |
@@ -494,17 +502,21 @@ |
JSObject* object, |
JSObject* holder, |
int index); |
+ |
Object* CompileLoadCallback(String* name, |
JSObject* object, |
JSObject* holder, |
AccessorInfo* callback); |
+ |
Object* CompileLoadConstant(String* name, |
JSObject* object, |
JSObject* holder, |
Object* value); |
+ |
Object* CompileLoadInterceptor(JSObject* object, |
JSObject* holder, |
String* name); |
+ |
Object* CompileLoadArrayLength(String* name); |
Object* CompileLoadStringLength(String* name); |
Object* CompileLoadFunctionPrototype(String* name); |