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

Side by Side Diff: src/lookup.h

Issue 442763002: Load constants from the DescriptorArray (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Also removed from arm64 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 | « src/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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 } 133 }
134 PropertyDetails property_details() const { 134 PropertyDetails property_details() const {
135 DCHECK(has_property_); 135 DCHECK(has_property_);
136 return property_details_; 136 return property_details_;
137 } 137 }
138 bool IsConfigurable() const { return !property_details().IsDontDelete(); } 138 bool IsConfigurable() const { return !property_details().IsDontDelete(); }
139 Representation representation() const { 139 Representation representation() const {
140 return property_details().representation(); 140 return property_details().representation();
141 } 141 }
142 FieldIndex GetFieldIndex() const; 142 FieldIndex GetFieldIndex() const;
143 int GetConstantIndex() const;
143 Handle<PropertyCell> GetPropertyCell() const; 144 Handle<PropertyCell> GetPropertyCell() const;
144 Handle<Object> GetAccessors() const; 145 Handle<Object> GetAccessors() const;
145 Handle<Object> GetDataValue() const; 146 Handle<Object> GetDataValue() const;
146 void WriteDataValue(Handle<Object> value); 147 void WriteDataValue(Handle<Object> value);
147 148
148 void InternalizeName(); 149 void InternalizeName();
149 150
150 private: 151 private:
151 Handle<Map> GetReceiverMap() const; 152 Handle<Map> GetReceiverMap() const;
152 153
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 MaybeHandle<Object> maybe_receiver_; 199 MaybeHandle<Object> maybe_receiver_;
199 MaybeHandle<JSReceiver> maybe_holder_; 200 MaybeHandle<JSReceiver> maybe_holder_;
200 201
201 int number_; 202 int number_;
202 }; 203 };
203 204
204 205
205 } } // namespace v8::internal 206 } } // namespace v8::internal
206 207
207 #endif // V8_LOOKUP_H_ 208 #endif // V8_LOOKUP_H_
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/lookup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698