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

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

Issue 8366036: Handlify call cases for pre-monomorphic, normal, and miss. (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
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 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 386
387 // Functions to compile either CallIC or KeyedCallIC. The specific kind 387 // Functions to compile either CallIC or KeyedCallIC. The specific kind
388 // is extracted from the code flags. 388 // is extracted from the code flags.
389 Handle<Code> CompileCallInitialize(Code::Flags flags); 389 Handle<Code> CompileCallInitialize(Code::Flags flags);
390 Handle<Code> CompileCallPreMonomorphic(Code::Flags flags); 390 Handle<Code> CompileCallPreMonomorphic(Code::Flags flags);
391 Handle<Code> CompileCallNormal(Code::Flags flags); 391 Handle<Code> CompileCallNormal(Code::Flags flags);
392 Handle<Code> CompileCallMegamorphic(Code::Flags flags); 392 Handle<Code> CompileCallMegamorphic(Code::Flags flags);
393 Handle<Code> CompileCallArguments(Code::Flags flags); 393 Handle<Code> CompileCallArguments(Code::Flags flags);
394 Handle<Code> CompileCallMiss(Code::Flags flags); 394 Handle<Code> CompileCallMiss(Code::Flags flags);
395 395
396 MUST_USE_RESULT MaybeObject* TryCompileCallPreMonomorphic(Code::Flags flags);
397 MUST_USE_RESULT MaybeObject* TryCompileCallNormal(Code::Flags flags);
398 MUST_USE_RESULT MaybeObject* TryCompileCallMegamorphic(Code::Flags flags); 396 MUST_USE_RESULT MaybeObject* TryCompileCallMegamorphic(Code::Flags flags);
399 MUST_USE_RESULT MaybeObject* TryCompileCallArguments(Code::Flags flags); 397 MUST_USE_RESULT MaybeObject* TryCompileCallArguments(Code::Flags flags);
400 MUST_USE_RESULT MaybeObject* TryCompileCallMiss(Code::Flags flags); 398 MUST_USE_RESULT MaybeObject* TryCompileCallMiss(Code::Flags flags);
401 399
402 #ifdef ENABLE_DEBUGGER_SUPPORT 400 #ifdef ENABLE_DEBUGGER_SUPPORT
403 Handle<Code> CompileCallDebugBreak(Code::Flags flags); 401 Handle<Code> CompileCallDebugBreak(Code::Flags flags);
404 Handle<Code> CompileCallDebugPrepareStepIn(Code::Flags flags); 402 Handle<Code> CompileCallDebugPrepareStepIn(Code::Flags flags);
405 403
406 MUST_USE_RESULT MaybeObject* TryCompileCallDebugBreak(Code::Flags flags); 404 MUST_USE_RESULT MaybeObject* TryCompileCallDebugBreak(Code::Flags flags);
407 MUST_USE_RESULT MaybeObject* TryCompileCallDebugPrepareStepIn( 405 MUST_USE_RESULT MaybeObject* TryCompileCallDebugPrepareStepIn(
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
978 JSFunction* constant_function_; 976 JSFunction* constant_function_;
979 bool is_simple_api_call_; 977 bool is_simple_api_call_;
980 FunctionTemplateInfo* expected_receiver_type_; 978 FunctionTemplateInfo* expected_receiver_type_;
981 CallHandlerInfo* api_call_info_; 979 CallHandlerInfo* api_call_info_;
982 }; 980 };
983 981
984 982
985 } } // namespace v8::internal 983 } } // namespace v8::internal
986 984
987 #endif // V8_STUB_CACHE_H_ 985 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/mips/ic-mips.cc ('k') | src/stub-cache.cc » ('j') | src/stub-cache.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698