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

Side by Side Diff: src/objects.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-compiler.cc ('k') | src/type-info.h » ('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_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 return STANDARD_STORE; 225 return STANDARD_STORE;
226 } 226 }
227 227
228 228
229 static inline bool IsGrowStoreMode(KeyedAccessStoreMode store_mode) { 229 static inline bool IsGrowStoreMode(KeyedAccessStoreMode store_mode) {
230 return store_mode >= STORE_AND_GROW_NO_TRANSITION && 230 return store_mode >= STORE_AND_GROW_NO_TRANSITION &&
231 store_mode <= STORE_AND_GROW_TRANSITION_HOLEY_DOUBLE_TO_OBJECT; 231 store_mode <= STORE_AND_GROW_TRANSITION_HOLEY_DOUBLE_TO_OBJECT;
232 } 232 }
233 233
234 234
235 enum IcCheckType { ELEMENT, PROPERTY };
236
237
235 // Setter that skips the write barrier if mode is SKIP_WRITE_BARRIER. 238 // Setter that skips the write barrier if mode is SKIP_WRITE_BARRIER.
236 enum WriteBarrierMode { SKIP_WRITE_BARRIER, UPDATE_WRITE_BARRIER }; 239 enum WriteBarrierMode { SKIP_WRITE_BARRIER, UPDATE_WRITE_BARRIER };
237 240
238 241
239 // Indicates whether a value can be loaded as a constant. 242 // Indicates whether a value can be loaded as a constant.
240 enum StoreMode { 243 enum StoreMode {
241 ALLOW_AS_CONSTANT, 244 ALLOW_AS_CONSTANT,
242 FORCE_FIELD 245 FORCE_FIELD
243 }; 246 };
244 247
(...skipping 10606 matching lines...) Expand 10 before | Expand all | Expand 10 after
10851 } else { 10854 } else {
10852 value &= ~(1 << bit_position); 10855 value &= ~(1 << bit_position);
10853 } 10856 }
10854 return value; 10857 return value;
10855 } 10858 }
10856 }; 10859 };
10857 10860
10858 } } // namespace v8::internal 10861 } } // namespace v8::internal
10859 10862
10860 #endif // V8_OBJECTS_H_ 10863 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ic/ic-compiler.cc ('k') | src/type-info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698