Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Side by Side Diff: src/stub-cache.h

Issue 6788007: Fix multi-isolate build: (Closed)
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/platform-win32.cc ('k') | test/cctest/test-assembler-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 DECLARE_RUNTIME_FUNCTION(MaybeObject*, LoadPropertyWithInterceptorForLoad); 401 DECLARE_RUNTIME_FUNCTION(MaybeObject*, LoadPropertyWithInterceptorForLoad);
402 DECLARE_RUNTIME_FUNCTION(MaybeObject*, LoadPropertyWithInterceptorForCall); 402 DECLARE_RUNTIME_FUNCTION(MaybeObject*, LoadPropertyWithInterceptorForCall);
403 DECLARE_RUNTIME_FUNCTION(MaybeObject*, StoreInterceptorProperty); 403 DECLARE_RUNTIME_FUNCTION(MaybeObject*, StoreInterceptorProperty);
404 DECLARE_RUNTIME_FUNCTION(MaybeObject*, CallInterceptorProperty); 404 DECLARE_RUNTIME_FUNCTION(MaybeObject*, CallInterceptorProperty);
405 DECLARE_RUNTIME_FUNCTION(MaybeObject*, KeyedLoadPropertyWithInterceptor); 405 DECLARE_RUNTIME_FUNCTION(MaybeObject*, KeyedLoadPropertyWithInterceptor);
406 406
407 407
408 // The stub compiler compiles stubs for the stub cache. 408 // The stub compiler compiles stubs for the stub cache.
409 class StubCompiler BASE_EMBEDDED { 409 class StubCompiler BASE_EMBEDDED {
410 public: 410 public:
411 StubCompiler() : scope_(), masm_(NULL, 256), failure_(NULL) { } 411 StubCompiler()
412 : scope_(), masm_(Isolate::Current(), NULL, 256), failure_(NULL) { }
412 413
413 MUST_USE_RESULT MaybeObject* CompileCallInitialize(Code::Flags flags); 414 MUST_USE_RESULT MaybeObject* CompileCallInitialize(Code::Flags flags);
414 MUST_USE_RESULT MaybeObject* CompileCallPreMonomorphic(Code::Flags flags); 415 MUST_USE_RESULT MaybeObject* CompileCallPreMonomorphic(Code::Flags flags);
415 MUST_USE_RESULT MaybeObject* CompileCallNormal(Code::Flags flags); 416 MUST_USE_RESULT MaybeObject* CompileCallNormal(Code::Flags flags);
416 MUST_USE_RESULT MaybeObject* CompileCallMegamorphic(Code::Flags flags); 417 MUST_USE_RESULT MaybeObject* CompileCallMegamorphic(Code::Flags flags);
417 MUST_USE_RESULT MaybeObject* CompileCallMiss(Code::Flags flags); 418 MUST_USE_RESULT MaybeObject* CompileCallMiss(Code::Flags flags);
418 #ifdef ENABLE_DEBUGGER_SUPPORT 419 #ifdef ENABLE_DEBUGGER_SUPPORT
419 MUST_USE_RESULT MaybeObject* CompileCallDebugBreak(Code::Flags flags); 420 MUST_USE_RESULT MaybeObject* CompileCallDebugBreak(Code::Flags flags);
420 MUST_USE_RESULT MaybeObject* CompileCallDebugPrepareStepIn(Code::Flags flags); 421 MUST_USE_RESULT MaybeObject* CompileCallDebugPrepareStepIn(Code::Flags flags);
421 #endif 422 #endif
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 MUST_USE_RESULT MaybeObject* CompileKeyedStoreStub( 857 MUST_USE_RESULT MaybeObject* CompileKeyedStoreStub(
857 JSObject* receiver, ExternalArrayType array_type, Code::Flags flags); 858 JSObject* receiver, ExternalArrayType array_type, Code::Flags flags);
858 859
859 private: 860 private:
860 MaybeObject* GetCode(Code::Flags flags); 861 MaybeObject* GetCode(Code::Flags flags);
861 }; 862 };
862 863
863 } } // namespace v8::internal 864 } } // namespace v8::internal
864 865
865 #endif // V8_STUB_CACHE_H_ 866 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/platform-win32.cc ('k') | test/cctest/test-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698