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

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

Issue 6794050: Revert "[Arguments] Merge (7442,7496] from bleeding_edge." (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/arguments
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 | Annotate | Revision Log
« no previous file with comments | « src/scopes.cc ('k') | src/type-info.h » ('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() 411 StubCompiler() : scope_(), masm_(NULL, 256), failure_(NULL) { }
412 : scope_(), masm_(Isolate::Current(), NULL, 256), failure_(NULL) { }
413 412
414 MUST_USE_RESULT MaybeObject* CompileCallInitialize(Code::Flags flags); 413 MUST_USE_RESULT MaybeObject* CompileCallInitialize(Code::Flags flags);
415 MUST_USE_RESULT MaybeObject* CompileCallPreMonomorphic(Code::Flags flags); 414 MUST_USE_RESULT MaybeObject* CompileCallPreMonomorphic(Code::Flags flags);
416 MUST_USE_RESULT MaybeObject* CompileCallNormal(Code::Flags flags); 415 MUST_USE_RESULT MaybeObject* CompileCallNormal(Code::Flags flags);
417 MUST_USE_RESULT MaybeObject* CompileCallMegamorphic(Code::Flags flags); 416 MUST_USE_RESULT MaybeObject* CompileCallMegamorphic(Code::Flags flags);
418 MUST_USE_RESULT MaybeObject* CompileCallMiss(Code::Flags flags); 417 MUST_USE_RESULT MaybeObject* CompileCallMiss(Code::Flags flags);
419 #ifdef ENABLE_DEBUGGER_SUPPORT 418 #ifdef ENABLE_DEBUGGER_SUPPORT
420 MUST_USE_RESULT MaybeObject* CompileCallDebugBreak(Code::Flags flags); 419 MUST_USE_RESULT MaybeObject* CompileCallDebugBreak(Code::Flags flags);
421 MUST_USE_RESULT MaybeObject* CompileCallDebugPrepareStepIn(Code::Flags flags); 420 MUST_USE_RESULT MaybeObject* CompileCallDebugPrepareStepIn(Code::Flags flags);
422 #endif 421 #endif
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 MUST_USE_RESULT MaybeObject* CompileKeyedStoreStub( 856 MUST_USE_RESULT MaybeObject* CompileKeyedStoreStub(
858 JSObject* receiver, ExternalArrayType array_type, Code::Flags flags); 857 JSObject* receiver, ExternalArrayType array_type, Code::Flags flags);
859 858
860 private: 859 private:
861 MaybeObject* GetCode(Code::Flags flags); 860 MaybeObject* GetCode(Code::Flags flags);
862 }; 861 };
863 862
864 } } // namespace v8::internal 863 } } // namespace v8::internal
865 864
866 #endif // V8_STUB_CACHE_H_ 865 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/scopes.cc ('k') | src/type-info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698