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

Side by Side Diff: src/ic.h

Issue 329463005: Revert 21720: "Introduce FieldIndex to unify and abstract property/field offset" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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(FieldIndex index); 484 Handle<Code> SimpleFieldLoad(int offset,
485 bool inobject = true,
486 Representation representation =
487 Representation::Tagged());
485 488
486 static void Clear(Isolate* isolate, 489 static void Clear(Isolate* isolate,
487 Address address, 490 Address address,
488 Code* target, 491 Code* target,
489 ConstantPoolArray* constant_pool); 492 ConstantPoolArray* constant_pool);
490 493
491 friend class IC; 494 friend class IC;
492 }; 495 };
493 496
494 497
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
1018 DECLARE_RUNTIME_FUNCTION(ElementsTransitionAndStoreIC_Miss); 1021 DECLARE_RUNTIME_FUNCTION(ElementsTransitionAndStoreIC_Miss);
1019 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_Miss); 1022 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_Miss);
1020 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_MissWithAllocationSite); 1023 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_MissWithAllocationSite);
1021 DECLARE_RUNTIME_FUNCTION(CompareNilIC_Miss); 1024 DECLARE_RUNTIME_FUNCTION(CompareNilIC_Miss);
1022 DECLARE_RUNTIME_FUNCTION(ToBooleanIC_Miss); 1025 DECLARE_RUNTIME_FUNCTION(ToBooleanIC_Miss);
1023 1026
1024 1027
1025 } } // namespace v8::internal 1028 } } // namespace v8::internal
1026 1029
1027 #endif // V8_IC_H_ 1030 #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