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

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

Issue 7187007: Merge arguments branch to bleeding edge (second try). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Undelete external-array test. 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
264 MUST_USE_RESULT MaybeObject* ComputeCallMegamorphic(int argc, 268 MUST_USE_RESULT MaybeObject* ComputeCallMegamorphic(int argc,
265 InLoopFlag in_loop, 269 InLoopFlag in_loop,
266 Code::Kind kind, 270 Code::Kind kind,
267 Code::ExtraICState state); 271 Code::ExtraICState state);
268 272
269 MUST_USE_RESULT MaybeObject* ComputeCallMiss(int argc, 273 MUST_USE_RESULT MaybeObject* ComputeCallMiss(int argc,
270 Code::Kind kind, 274 Code::Kind kind,
271 Code::ExtraICState state); 275 Code::ExtraICState state);
272 276
273 // Finds the Code object stored in the Heap::non_monomorphic_cache(). 277 // Finds the Code object stored in the Heap::non_monomorphic_cache().
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 // The stub compiler compiles stubs for the stub cache. 422 // The stub compiler compiles stubs for the stub cache.
419 class StubCompiler BASE_EMBEDDED { 423 class StubCompiler BASE_EMBEDDED {
420 public: 424 public:
421 StubCompiler() 425 StubCompiler()
422 : scope_(), masm_(Isolate::Current(), NULL, 256), failure_(NULL) { } 426 : scope_(), masm_(Isolate::Current(), NULL, 256), failure_(NULL) { }
423 427
424 MUST_USE_RESULT MaybeObject* CompileCallInitialize(Code::Flags flags); 428 MUST_USE_RESULT MaybeObject* CompileCallInitialize(Code::Flags flags);
425 MUST_USE_RESULT MaybeObject* CompileCallPreMonomorphic(Code::Flags flags); 429 MUST_USE_RESULT MaybeObject* CompileCallPreMonomorphic(Code::Flags flags);
426 MUST_USE_RESULT MaybeObject* CompileCallNormal(Code::Flags flags); 430 MUST_USE_RESULT MaybeObject* CompileCallNormal(Code::Flags flags);
427 MUST_USE_RESULT MaybeObject* CompileCallMegamorphic(Code::Flags flags); 431 MUST_USE_RESULT MaybeObject* CompileCallMegamorphic(Code::Flags flags);
432 MUST_USE_RESULT MaybeObject* CompileCallArguments(Code::Flags flags);
428 MUST_USE_RESULT MaybeObject* CompileCallMiss(Code::Flags flags); 433 MUST_USE_RESULT MaybeObject* CompileCallMiss(Code::Flags flags);
429 #ifdef ENABLE_DEBUGGER_SUPPORT 434 #ifdef ENABLE_DEBUGGER_SUPPORT
430 MUST_USE_RESULT MaybeObject* CompileCallDebugBreak(Code::Flags flags); 435 MUST_USE_RESULT MaybeObject* CompileCallDebugBreak(Code::Flags flags);
431 MUST_USE_RESULT MaybeObject* CompileCallDebugPrepareStepIn(Code::Flags flags); 436 MUST_USE_RESULT MaybeObject* CompileCallDebugPrepareStepIn(Code::Flags flags);
432 #endif 437 #endif
433 438
434 // Static functions for generating parts of stubs. 439 // Static functions for generating parts of stubs.
435 static void GenerateLoadGlobalFunctionPrototype(MacroAssembler* masm, 440 static void GenerateLoadGlobalFunctionPrototype(MacroAssembler* masm,
436 int index, 441 int index,
437 Register prototype); 442 Register prototype);
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 JSFunction* constant_function_; 896 JSFunction* constant_function_;
892 bool is_simple_api_call_; 897 bool is_simple_api_call_;
893 FunctionTemplateInfo* expected_receiver_type_; 898 FunctionTemplateInfo* expected_receiver_type_;
894 CallHandlerInfo* api_call_info_; 899 CallHandlerInfo* api_call_info_;
895 }; 900 };
896 901
897 902
898 } } // namespace v8::internal 903 } } // namespace v8::internal
899 904
900 #endif // V8_STUB_CACHE_H_ 905 #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