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

Side by Side Diff: src/lookup.h

Issue 494063002: Rename IsDontDelete to IsConfigurable (and invert conditions) (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
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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 return property_kind_; 146 return property_kind_;
147 } 147 }
148 PropertyEncoding property_encoding() const { 148 PropertyEncoding property_encoding() const {
149 DCHECK(has_property_); 149 DCHECK(has_property_);
150 return property_encoding_; 150 return property_encoding_;
151 } 151 }
152 PropertyDetails property_details() const { 152 PropertyDetails property_details() const {
153 DCHECK(has_property_); 153 DCHECK(has_property_);
154 return property_details_; 154 return property_details_;
155 } 155 }
156 bool IsConfigurable() const { return !property_details().IsDontDelete(); } 156 bool IsConfigurable() const { return property_details().IsConfigurable(); }
157 bool IsReadOnly() const { return property_details().IsReadOnly(); } 157 bool IsReadOnly() const { return property_details().IsReadOnly(); }
158 Representation representation() const { 158 Representation representation() const {
159 return property_details().representation(); 159 return property_details().representation();
160 } 160 }
161 FieldIndex GetFieldIndex() const; 161 FieldIndex GetFieldIndex() const;
162 int GetConstantIndex() const; 162 int GetConstantIndex() const;
163 Handle<PropertyCell> GetPropertyCell() const; 163 Handle<PropertyCell> GetPropertyCell() const;
164 Handle<Object> GetAccessors() const; 164 Handle<Object> GetAccessors() const;
165 Handle<Object> GetDataValue() const; 165 Handle<Object> GetDataValue() const;
166 void WriteDataValue(Handle<Object> value); 166 void WriteDataValue(Handle<Object> value);
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 MaybeHandle<Object> maybe_receiver_; 230 MaybeHandle<Object> maybe_receiver_;
231 MaybeHandle<JSReceiver> maybe_holder_; 231 MaybeHandle<JSReceiver> maybe_holder_;
232 232
233 int number_; 233 int number_;
234 }; 234 };
235 235
236 236
237 } } // namespace v8::internal 237 } } // namespace v8::internal
238 238
239 #endif // V8_LOOKUP_H_ 239 #endif // V8_LOOKUP_H_
OLDNEW
« src/hydrogen-instructions.h ('K') | « src/hydrogen-instructions.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698