Index: src/stub-cache.h |
=================================================================== |
--- src/stub-cache.h (revision 6336) |
+++ src/stub-cache.h (working copy) |
@@ -167,6 +167,10 @@ |
MUST_USE_RESULT static MaybeObject* ComputeKeyedStoreSpecialized( |
JSObject* receiver); |
+ MUST_USE_RESULT static MaybeObject* ComputeKeyedLoadOrStoreExternalArray( |
+ JSObject* receiver, |
+ bool is_store); |
+ |
// --- |
MUST_USE_RESULT static MaybeObject* ComputeCallField(int argc, |
@@ -793,6 +797,20 @@ |
CallHandlerInfo* api_call_info_; |
}; |
+class ExternalArrayStubCompiler: public StubCompiler { |
+ public: |
+ explicit ExternalArrayStubCompiler() {} |
+ |
+ MUST_USE_RESULT MaybeObject* CompileKeyedLoadStub( |
+ ExternalArrayType array_type, Code::Flags flags); |
+ |
+ MUST_USE_RESULT MaybeObject* CompileKeyedStoreStub( |
+ ExternalArrayType array_type, Code::Flags flags); |
+ |
+ private: |
+ MaybeObject* GetCode(Code::Flags flags); |
+}; |
+ |
} } // namespace v8::internal |
#endif // V8_STUB_CACHE_H_ |