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

Side by Side Diff: src/lookup.h

Issue 1148583002: Simplify GetProperty helpers to ease element support (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: More comments Created 5 years, 7 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
« no previous file with comments | « src/ic/ic.cc ('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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 bool IsReadOnly() const { return property_details().IsReadOnly(); } 181 bool IsReadOnly() const { return property_details().IsReadOnly(); }
182 Representation representation() const { 182 Representation representation() const {
183 return property_details().representation(); 183 return property_details().representation();
184 } 184 }
185 FieldIndex GetFieldIndex() const; 185 FieldIndex GetFieldIndex() const;
186 Handle<HeapType> GetFieldType() const; 186 Handle<HeapType> GetFieldType() const;
187 int GetAccessorIndex() const; 187 int GetAccessorIndex() const;
188 int GetConstantIndex() const; 188 int GetConstantIndex() const;
189 Handle<PropertyCell> GetPropertyCell() const; 189 Handle<PropertyCell> GetPropertyCell() const;
190 Handle<Object> GetAccessors() const; 190 Handle<Object> GetAccessors() const;
191 Handle<InterceptorInfo> GetInterceptor() const;
191 Handle<Object> GetDataValue() const; 192 Handle<Object> GetDataValue() const;
192 // Usually returns the value that was passed in, but may perform 193 // Usually returns the value that was passed in, but may perform
193 // non-observable modifications on it, such as internalize strings. 194 // non-observable modifications on it, such as internalize strings.
194 void WriteDataValue(Handle<Object> value); 195 void WriteDataValue(Handle<Object> value);
195 void InternalizeName(); 196 void InternalizeName();
196 197
197 private: 198 private:
198 enum class InterceptorState { 199 enum class InterceptorState {
199 kUninitialized, 200 kUninitialized,
200 kSkipNonMasking, 201 kSkipNonMasking,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 Handle<JSReceiver> holder_; 262 Handle<JSReceiver> holder_;
262 Handle<Map> holder_map_; 263 Handle<Map> holder_map_;
263 const Handle<JSReceiver> initial_holder_; 264 const Handle<JSReceiver> initial_holder_;
264 uint32_t number_; 265 uint32_t number_;
265 }; 266 };
266 267
267 268
268 } } // namespace v8::internal 269 } } // namespace v8::internal
269 270
270 #endif // V8_LOOKUP_H_ 271 #endif // V8_LOOKUP_H_
OLDNEW
« no previous file with comments | « src/ic/ic.cc ('k') | src/lookup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698