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

Side by Side Diff: src/ic.h

Issue 371463003: Use hydrogenized KeyedLoadGeneric stub for generic named loads too (with --compiled-keyed-generic-l… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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 | « no previous file | src/ic.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_IC_H_ 5 #ifndef V8_IC_H_
6 #define V8_IC_H_ 6 #define V8_IC_H_
7 7
8 #include "src/macro-assembler.h" 8 #include "src/macro-assembler.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 GetContextualMode(target()->extra_ic_state())); 460 GetContextualMode(target()->extra_ic_state()));
461 461
462 IC::set_target(code); 462 IC::set_target(code);
463 } 463 }
464 464
465 virtual Handle<Code> slow_stub() const { 465 virtual Handle<Code> slow_stub() const {
466 return isolate()->builtins()->LoadIC_Slow(); 466 return isolate()->builtins()->LoadIC_Slow();
467 } 467 }
468 468
469 virtual Handle<Code> megamorphic_stub(); 469 virtual Handle<Code> megamorphic_stub();
470 virtual Handle<Code> generic_stub() const;
470 471
471 // Update the inline cache and the global stub cache based on the 472 // Update the inline cache and the global stub cache based on the
472 // lookup result. 473 // lookup result.
473 void UpdateCaches(LookupResult* lookup, 474 void UpdateCaches(LookupResult* lookup,
474 Handle<Object> object, 475 Handle<Object> object,
475 Handle<String> name); 476 Handle<String> name);
476 477
477 virtual Handle<Code> CompileHandler(LookupResult* lookup, 478 virtual Handle<Code> CompileHandler(LookupResult* lookup,
478 Handle<Object> object, 479 Handle<Object> object,
479 Handle<String> name, 480 Handle<String> name,
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
1026 DECLARE_RUNTIME_FUNCTION(ElementsTransitionAndStoreIC_Miss); 1027 DECLARE_RUNTIME_FUNCTION(ElementsTransitionAndStoreIC_Miss);
1027 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_Miss); 1028 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_Miss);
1028 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_MissWithAllocationSite); 1029 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_MissWithAllocationSite);
1029 DECLARE_RUNTIME_FUNCTION(CompareNilIC_Miss); 1030 DECLARE_RUNTIME_FUNCTION(CompareNilIC_Miss);
1030 DECLARE_RUNTIME_FUNCTION(ToBooleanIC_Miss); 1031 DECLARE_RUNTIME_FUNCTION(ToBooleanIC_Miss);
1031 1032
1032 1033
1033 } } // namespace v8::internal 1034 } } // namespace v8::internal
1034 1035
1035 #endif // V8_IC_H_ 1036 #endif // V8_IC_H_
OLDNEW
« no previous file with comments | « no previous file | src/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698