| Index: src/stub-cache.h
|
| ===================================================================
|
| --- src/stub-cache.h (revision 4205)
|
| +++ src/stub-cache.h (working copy)
|
| @@ -326,8 +326,7 @@
|
| RECEIVER_MAP_CHECK,
|
| STRING_CHECK,
|
| NUMBER_CHECK,
|
| - BOOLEAN_CHECK,
|
| - JSARRAY_HAS_FAST_ELEMENTS_CHECK
|
| + BOOLEAN_CHECK
|
| };
|
|
|
| StubCompiler() : scope_(), masm_(NULL, 256), failure_(NULL) { }
|
| @@ -549,7 +548,7 @@
|
|
|
| class CallStubCompiler: public StubCompiler {
|
| public:
|
| - explicit CallStubCompiler(int argc, InLoopFlag in_loop)
|
| + CallStubCompiler(int argc, InLoopFlag in_loop)
|
| : arguments_(argc), in_loop_(in_loop) { }
|
|
|
| Object* CompileCallField(JSObject* object,
|
| @@ -570,6 +569,18 @@
|
| JSFunction* function,
|
| String* name);
|
|
|
| + Object* CompileArrayPushCall(Object* object,
|
| + JSObject* holder,
|
| + JSFunction* function,
|
| + String* name,
|
| + CheckType check);
|
| +
|
| + Object* CompileArrayPopCall(Object* object,
|
| + JSObject* holder,
|
| + JSFunction* function,
|
| + String* name,
|
| + CheckType check);
|
| +
|
| private:
|
| const ParameterCount arguments_;
|
| const InLoopFlag in_loop_;
|
| @@ -591,6 +602,14 @@
|
| };
|
|
|
|
|
| +typedef Object* (*CustomCallGenerator)(CallStubCompiler* compiler,
|
| + Object* object,
|
| + JSObject* holder,
|
| + JSFunction* function,
|
| + String* name,
|
| + StubCompiler::CheckType check);
|
| +
|
| +
|
| } } // namespace v8::internal
|
|
|
| #endif // V8_STUB_CACHE_H_
|
|
|