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

Side by Side Diff: src/ic.h

Issue 300283002: Introduce FieldIndex to unify and abstract property/field offset (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix mutable boxed double runtime function Created 6 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/ia32/stub-cache-ia32.cc ('k') | 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 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 474
475 private: 475 private:
476 // Stub accessors. 476 // Stub accessors.
477 static Handle<Code> pre_monomorphic_stub(Isolate* isolate, 477 static Handle<Code> pre_monomorphic_stub(Isolate* isolate,
478 ExtraICState exstra_state); 478 ExtraICState exstra_state);
479 479
480 virtual Handle<Code> pre_monomorphic_stub() { 480 virtual Handle<Code> pre_monomorphic_stub() {
481 return pre_monomorphic_stub(isolate(), extra_ic_state()); 481 return pre_monomorphic_stub(isolate(), extra_ic_state());
482 } 482 }
483 483
484 Handle<Code> SimpleFieldLoad(int offset, 484 Handle<Code> SimpleFieldLoad(FieldIndex index);
485 bool inobject = true,
486 Representation representation =
487 Representation::Tagged());
488 485
489 static void Clear(Isolate* isolate, 486 static void Clear(Isolate* isolate,
490 Address address, 487 Address address,
491 Code* target, 488 Code* target,
492 ConstantPoolArray* constant_pool); 489 ConstantPoolArray* constant_pool);
493 490
494 friend class IC; 491 friend class IC;
495 }; 492 };
496 493
497 494
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
1021 DECLARE_RUNTIME_FUNCTION(ElementsTransitionAndStoreIC_Miss); 1018 DECLARE_RUNTIME_FUNCTION(ElementsTransitionAndStoreIC_Miss);
1022 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_Miss); 1019 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_Miss);
1023 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_MissWithAllocationSite); 1020 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_MissWithAllocationSite);
1024 DECLARE_RUNTIME_FUNCTION(CompareNilIC_Miss); 1021 DECLARE_RUNTIME_FUNCTION(CompareNilIC_Miss);
1025 DECLARE_RUNTIME_FUNCTION(ToBooleanIC_Miss); 1022 DECLARE_RUNTIME_FUNCTION(ToBooleanIC_Miss);
1026 1023
1027 1024
1028 } } // namespace v8::internal 1025 } } // namespace v8::internal
1029 1026
1030 #endif // V8_IC_H_ 1027 #endif // V8_IC_H_
OLDNEW
« no previous file with comments | « src/ia32/stub-cache-ia32.cc ('k') | src/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698