| Index: src/stub-cache.h
|
| ===================================================================
|
| --- src/stub-cache.h (revision 4423)
|
| +++ 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* ComputeLoadNonexistent(String* name, JSObject* receiver);
|
| +
|
| static Object* ComputeLoadField(String* name,
|
| JSObject* receiver,
|
| JSObject* holder,
|
| @@ -461,18 +463,25 @@
|
|
|
| class LoadStubCompiler: public StubCompiler {
|
| public:
|
| + Object* CompileLoadNonexistent(String* name,
|
| + JSObject* object,
|
| + JSObject* last);
|
| +
|
| 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);
|
| @@ -494,17 +503,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);
|
|
|