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

Side by Side Diff: src/lookup.h

Issue 468163002: Use LookupIterator in SetAccessor / DefineAccessor and remove "search_hidden_prototypes" from Looku… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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 | « no previous file | src/objects.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 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 } 136 }
137 PropertyEncoding property_encoding() const { 137 PropertyEncoding property_encoding() const {
138 DCHECK(has_property_); 138 DCHECK(has_property_);
139 return property_encoding_; 139 return property_encoding_;
140 } 140 }
141 PropertyDetails property_details() const { 141 PropertyDetails property_details() const {
142 DCHECK(has_property_); 142 DCHECK(has_property_);
143 return property_details_; 143 return property_details_;
144 } 144 }
145 bool IsConfigurable() const { return !property_details().IsDontDelete(); } 145 bool IsConfigurable() const { return !property_details().IsDontDelete(); }
146 bool IsReadOnly() const { return property_details().IsReadOnly(); }
Jakob Kummerow 2014/08/18 15:00:18 Yeah, I'm adding that accessor in my work-in-progr
146 Representation representation() const { 147 Representation representation() const {
147 return property_details().representation(); 148 return property_details().representation();
148 } 149 }
149 FieldIndex GetFieldIndex() const; 150 FieldIndex GetFieldIndex() const;
150 int GetConstantIndex() const; 151 int GetConstantIndex() const;
151 Handle<PropertyCell> GetPropertyCell() const; 152 Handle<PropertyCell> GetPropertyCell() const;
152 Handle<Object> GetAccessors() const; 153 Handle<Object> GetAccessors() const;
153 Handle<Object> GetDataValue() const; 154 Handle<Object> GetDataValue() const;
154 void WriteDataValue(Handle<Object> value); 155 void WriteDataValue(Handle<Object> value);
155 156
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 MaybeHandle<Object> maybe_receiver_; 218 MaybeHandle<Object> maybe_receiver_;
218 MaybeHandle<JSReceiver> maybe_holder_; 219 MaybeHandle<JSReceiver> maybe_holder_;
219 220
220 int number_; 221 int number_;
221 }; 222 };
222 223
223 224
224 } } // namespace v8::internal 225 } } // namespace v8::internal
225 226
226 #endif // V8_LOOKUP_H_ 227 #endif // V8_LOOKUP_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698