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

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

Issue 7172030: Revert "Merge arguments branch to bleeding merge." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 6 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/stub-cache.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 int argc, 254 int argc,
255 InLoopFlag in_loop, 255 InLoopFlag in_loop,
256 Code::Kind kind, 256 Code::Kind kind,
257 Code::ExtraICState extra_ic_state); 257 Code::ExtraICState extra_ic_state);
258 258
259 MUST_USE_RESULT MaybeObject* ComputeCallNormal(int argc, 259 MUST_USE_RESULT MaybeObject* ComputeCallNormal(int argc,
260 InLoopFlag in_loop, 260 InLoopFlag in_loop,
261 Code::Kind kind, 261 Code::Kind kind,
262 Code::ExtraICState state); 262 Code::ExtraICState state);
263 263
264 MUST_USE_RESULT MaybeObject* ComputeCallArguments(int argc,
265 InLoopFlag in_loop,
266 Code::Kind kind);
267
268 MUST_USE_RESULT MaybeObject* ComputeCallMegamorphic(int argc, 264 MUST_USE_RESULT MaybeObject* ComputeCallMegamorphic(int argc,
269 InLoopFlag in_loop, 265 InLoopFlag in_loop,
270 Code::Kind kind, 266 Code::Kind kind,
271 Code::ExtraICState state); 267 Code::ExtraICState state);
272 268
273 MUST_USE_RESULT MaybeObject* ComputeCallMiss(int argc, 269 MUST_USE_RESULT MaybeObject* ComputeCallMiss(int argc,
274 Code::Kind kind, 270 Code::Kind kind,
275 Code::ExtraICState state); 271 Code::ExtraICState state);
276 272
277 // Finds the Code object stored in the Heap::non_monomorphic_cache(). 273 // Finds the Code object stored in the Heap::non_monomorphic_cache().
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 // The stub compiler compiles stubs for the stub cache. 418 // The stub compiler compiles stubs for the stub cache.
423 class StubCompiler BASE_EMBEDDED { 419 class StubCompiler BASE_EMBEDDED {
424 public: 420 public:
425 StubCompiler() 421 StubCompiler()
426 : scope_(), masm_(Isolate::Current(), NULL, 256), failure_(NULL) { } 422 : scope_(), masm_(Isolate::Current(), NULL, 256), failure_(NULL) { }
427 423
428 MUST_USE_RESULT MaybeObject* CompileCallInitialize(Code::Flags flags); 424 MUST_USE_RESULT MaybeObject* CompileCallInitialize(Code::Flags flags);
429 MUST_USE_RESULT MaybeObject* CompileCallPreMonomorphic(Code::Flags flags); 425 MUST_USE_RESULT MaybeObject* CompileCallPreMonomorphic(Code::Flags flags);
430 MUST_USE_RESULT MaybeObject* CompileCallNormal(Code::Flags flags); 426 MUST_USE_RESULT MaybeObject* CompileCallNormal(Code::Flags flags);
431 MUST_USE_RESULT MaybeObject* CompileCallMegamorphic(Code::Flags flags); 427 MUST_USE_RESULT MaybeObject* CompileCallMegamorphic(Code::Flags flags);
432 MUST_USE_RESULT MaybeObject* CompileCallArguments(Code::Flags flags);
433 MUST_USE_RESULT MaybeObject* CompileCallMiss(Code::Flags flags); 428 MUST_USE_RESULT MaybeObject* CompileCallMiss(Code::Flags flags);
434 #ifdef ENABLE_DEBUGGER_SUPPORT 429 #ifdef ENABLE_DEBUGGER_SUPPORT
435 MUST_USE_RESULT MaybeObject* CompileCallDebugBreak(Code::Flags flags); 430 MUST_USE_RESULT MaybeObject* CompileCallDebugBreak(Code::Flags flags);
436 MUST_USE_RESULT MaybeObject* CompileCallDebugPrepareStepIn(Code::Flags flags); 431 MUST_USE_RESULT MaybeObject* CompileCallDebugPrepareStepIn(Code::Flags flags);
437 #endif 432 #endif
438 433
439 // Static functions for generating parts of stubs. 434 // Static functions for generating parts of stubs.
440 static void GenerateLoadGlobalFunctionPrototype(MacroAssembler* masm, 435 static void GenerateLoadGlobalFunctionPrototype(MacroAssembler* masm,
441 int index, 436 int index,
442 Register prototype); 437 Register prototype);
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
896 JSFunction* constant_function_; 891 JSFunction* constant_function_;
897 bool is_simple_api_call_; 892 bool is_simple_api_call_;
898 FunctionTemplateInfo* expected_receiver_type_; 893 FunctionTemplateInfo* expected_receiver_type_;
899 CallHandlerInfo* api_call_info_; 894 CallHandlerInfo* api_call_info_;
900 }; 895 };
901 896
902 897
903 } } // namespace v8::internal 898 } } // namespace v8::internal
904 899
905 #endif // V8_STUB_CACHE_H_ 900 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/scopes.cc ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698