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

Side by Side Diff: src/lookup.h

Issue 1636013002: Replace HeapType with a non-templated FieldType class. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix tracing of generalizations Created 4 years, 11 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
« src/ic/ic.cc ('K') | « src/list.h ('k') | src/lookup.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_LOOKUP_H_ 5 #ifndef V8_LOOKUP_H_
6 #define V8_LOOKUP_H_ 6 #define V8_LOOKUP_H_
7 7
8 #include "src/factory.h" 8 #include "src/factory.h"
9 #include "src/isolate.h" 9 #include "src/isolate.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 PropertyDetails property_details() const { 236 PropertyDetails property_details() const {
237 DCHECK(has_property_); 237 DCHECK(has_property_);
238 return property_details_; 238 return property_details_;
239 } 239 }
240 bool IsConfigurable() const { return property_details().IsConfigurable(); } 240 bool IsConfigurable() const { return property_details().IsConfigurable(); }
241 bool IsReadOnly() const { return property_details().IsReadOnly(); } 241 bool IsReadOnly() const { return property_details().IsReadOnly(); }
242 Representation representation() const { 242 Representation representation() const {
243 return property_details().representation(); 243 return property_details().representation();
244 } 244 }
245 FieldIndex GetFieldIndex() const; 245 FieldIndex GetFieldIndex() const;
246 Handle<HeapType> GetFieldType() const; 246 Handle<FieldType> GetFieldType() const;
247 int GetAccessorIndex() const; 247 int GetAccessorIndex() const;
248 int GetConstantIndex() const; 248 int GetConstantIndex() const;
249 Handle<PropertyCell> GetPropertyCell() const; 249 Handle<PropertyCell> GetPropertyCell() const;
250 Handle<Object> GetAccessors() const; 250 Handle<Object> GetAccessors() const;
251 inline Handle<InterceptorInfo> GetInterceptor() const { 251 inline Handle<InterceptorInfo> GetInterceptor() const {
252 DCHECK_EQ(INTERCEPTOR, state_); 252 DCHECK_EQ(INTERCEPTOR, state_);
253 return handle(GetInterceptor(JSObject::cast(*holder_)), isolate_); 253 return handle(GetInterceptor(JSObject::cast(*holder_)), isolate_);
254 } 254 }
255 Handle<Object> GetDataValue() const; 255 Handle<Object> GetDataValue() const;
256 void WriteDataValue(Handle<Object> value); 256 void WriteDataValue(Handle<Object> value);
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 Handle<Map> holder_map_; 337 Handle<Map> holder_map_;
338 const Handle<JSReceiver> initial_holder_; 338 const Handle<JSReceiver> initial_holder_;
339 uint32_t number_; 339 uint32_t number_;
340 }; 340 };
341 341
342 342
343 } // namespace internal 343 } // namespace internal
344 } // namespace v8 344 } // namespace v8
345 345
346 #endif // V8_LOOKUP_H_ 346 #endif // V8_LOOKUP_H_
OLDNEW
« src/ic/ic.cc ('K') | « src/list.h ('k') | src/lookup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698