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

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

Issue 8372029: Handlify the remaining stub compiler functions for call ICs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 2 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/mips/ic-mips.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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 385
386 // Functions to compile either CallIC or KeyedCallIC. The specific kind 386 // Functions to compile either CallIC or KeyedCallIC. The specific kind
387 // is extracted from the code flags. 387 // is extracted from the code flags.
388 Handle<Code> CompileCallInitialize(Code::Flags flags); 388 Handle<Code> CompileCallInitialize(Code::Flags flags);
389 Handle<Code> CompileCallPreMonomorphic(Code::Flags flags); 389 Handle<Code> CompileCallPreMonomorphic(Code::Flags flags);
390 Handle<Code> CompileCallNormal(Code::Flags flags); 390 Handle<Code> CompileCallNormal(Code::Flags flags);
391 Handle<Code> CompileCallMegamorphic(Code::Flags flags); 391 Handle<Code> CompileCallMegamorphic(Code::Flags flags);
392 Handle<Code> CompileCallArguments(Code::Flags flags); 392 Handle<Code> CompileCallArguments(Code::Flags flags);
393 Handle<Code> CompileCallMiss(Code::Flags flags); 393 Handle<Code> CompileCallMiss(Code::Flags flags);
394 394
395 MUST_USE_RESULT MaybeObject* TryCompileCallMegamorphic(Code::Flags flags);
396 MUST_USE_RESULT MaybeObject* TryCompileCallArguments(Code::Flags flags);
397 MUST_USE_RESULT MaybeObject* TryCompileCallMiss(Code::Flags flags); 395 MUST_USE_RESULT MaybeObject* TryCompileCallMiss(Code::Flags flags);
398 396
399 #ifdef ENABLE_DEBUGGER_SUPPORT 397 #ifdef ENABLE_DEBUGGER_SUPPORT
400 Handle<Code> CompileCallDebugBreak(Code::Flags flags); 398 Handle<Code> CompileCallDebugBreak(Code::Flags flags);
401 Handle<Code> CompileCallDebugPrepareStepIn(Code::Flags flags); 399 Handle<Code> CompileCallDebugPrepareStepIn(Code::Flags flags);
402
403 MUST_USE_RESULT MaybeObject* TryCompileCallDebugBreak(Code::Flags flags);
404 MUST_USE_RESULT MaybeObject* TryCompileCallDebugPrepareStepIn(
405 Code::Flags flags);
406 #endif 400 #endif
407 401
408 // Static functions for generating parts of stubs. 402 // Static functions for generating parts of stubs.
409 static void GenerateLoadGlobalFunctionPrototype(MacroAssembler* masm, 403 static void GenerateLoadGlobalFunctionPrototype(MacroAssembler* masm,
410 int index, 404 int index,
411 Register prototype); 405 Register prototype);
412 406
413 // Generates prototype loading code that uses the objects from the 407 // Generates prototype loading code that uses the objects from the
414 // context we were in when this function was called. If the context 408 // context we were in when this function was called. If the context
415 // has changed, a jump to miss is performed. This ties the generated 409 // has changed, a jump to miss is performed. This ties the generated
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
986 JSFunction* constant_function_; 980 JSFunction* constant_function_;
987 bool is_simple_api_call_; 981 bool is_simple_api_call_;
988 FunctionTemplateInfo* expected_receiver_type_; 982 FunctionTemplateInfo* expected_receiver_type_;
989 CallHandlerInfo* api_call_info_; 983 CallHandlerInfo* api_call_info_;
990 }; 984 };
991 985
992 986
993 } } // namespace v8::internal 987 } } // namespace v8::internal
994 988
995 #endif // V8_STUB_CACHE_H_ 989 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/mips/ic-mips.cc ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698