diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-04-23 12:05:36 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-04-23 12:05:36 -0700 |
commit | e72b7b8002c487d32f3a651687acca13f2009b99 (patch) | |
tree | 81a6aacbf385709a83cd095c04ec7ba44bb754bc /deps/v8/src/stub-cache.h | |
parent | 7a34afba773a09c7862759872905657ec9629351 (diff) | |
download | node-new-e72b7b8002c487d32f3a651687acca13f2009b99.tar.gz |
Upgrade V8 to 2.2.4.2
Diffstat (limited to 'deps/v8/src/stub-cache.h')
-rw-r--r-- | deps/v8/src/stub-cache.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/deps/v8/src/stub-cache.h b/deps/v8/src/stub-cache.h index 0ca37e7e28..57442ffc74 100644 --- a/deps/v8/src/stub-cache.h +++ b/deps/v8/src/stub-cache.h @@ -56,6 +56,8 @@ class StubCache : public AllStatic { // 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 StubCompiler BASE_EMBEDDED { 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 @@ class KeyedLoadStubCompiler: public StubCompiler { 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); |