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

Side by Side Diff: src/ic/ic-compiler.h

Issue 648703002: Fix type feedback for name-keyed stores (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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/ic/ic.h ('k') | src/ic/ic-compiler.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_IC_COMPILER_H_ 5 #ifndef V8_IC_IC_COMPILER_H_
6 #define V8_IC_IC_COMPILER_H_ 6 #define V8_IC_IC_COMPILER_H_
7 7
8 #include "src/ic/access-compiler.h" 8 #include "src/ic/access-compiler.h"
9 9
10 namespace v8 { 10 namespace v8 {
11 namespace internal { 11 namespace internal {
12 12
13 13
14 enum IcCheckType { ELEMENT, PROPERTY };
15
16
17 class PropertyICCompiler : public PropertyAccessCompiler { 14 class PropertyICCompiler : public PropertyAccessCompiler {
18 public: 15 public:
19 // Finds the Code object stored in the Heap::non_monomorphic_cache(). 16 // Finds the Code object stored in the Heap::non_monomorphic_cache().
20 static Code* FindPreMonomorphic(Isolate* isolate, Code::Kind kind, 17 static Code* FindPreMonomorphic(Isolate* isolate, Code::Kind kind,
21 ExtraICState extra_ic_state); 18 ExtraICState extra_ic_state);
22 19
23 // Named 20 // Named
24 static Handle<Code> ComputeLoad(Isolate* isolate, InlineCacheState ic_state, 21 static Handle<Code> ComputeLoad(Isolate* isolate, InlineCacheState ic_state,
25 ExtraICState extra_state); 22 ExtraICState extra_state);
26 static Handle<Code> ComputeStore(Isolate* isolate, InlineCacheState ic_state, 23 static Handle<Code> ComputeStore(Isolate* isolate, InlineCacheState ic_state,
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 } 113 }
117 114
118 const ExtraICState extra_ic_state_; 115 const ExtraICState extra_ic_state_;
119 }; 116 };
120 117
121 118
122 } 119 }
123 } // namespace v8::internal 120 } // namespace v8::internal
124 121
125 #endif // V8_IC_IC_COMPILER_H_ 122 #endif // V8_IC_IC_COMPILER_H_
OLDNEW
« no previous file with comments | « src/ic/ic.h ('k') | src/ic/ic-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698