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

Side by Side Diff: src/lookup.h

Issue 872723003: Load getter from map descriptor instead of embedding it in handler. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add mips, mips64, x87 Created 5 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
« no previous file with comments | « src/ic/x87/handler-compiler-x87.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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 DCHECK(has_property_); 125 DCHECK(has_property_);
126 return property_details_; 126 return property_details_;
127 } 127 }
128 bool IsConfigurable() const { return property_details().IsConfigurable(); } 128 bool IsConfigurable() const { return property_details().IsConfigurable(); }
129 bool IsReadOnly() const { return property_details().IsReadOnly(); } 129 bool IsReadOnly() const { return property_details().IsReadOnly(); }
130 Representation representation() const { 130 Representation representation() const {
131 return property_details().representation(); 131 return property_details().representation();
132 } 132 }
133 FieldIndex GetFieldIndex() const; 133 FieldIndex GetFieldIndex() const;
134 Handle<HeapType> GetFieldType() const; 134 Handle<HeapType> GetFieldType() const;
135 int GetAccessorIndex() const;
135 int GetConstantIndex() const; 136 int GetConstantIndex() const;
136 Handle<PropertyCell> GetPropertyCell() const; 137 Handle<PropertyCell> GetPropertyCell() const;
137 Handle<Object> GetAccessors() const; 138 Handle<Object> GetAccessors() const;
138 Handle<Object> GetDataValue() const; 139 Handle<Object> GetDataValue() const;
139 // Usually returns the value that was passed in, but may perform 140 // Usually returns the value that was passed in, but may perform
140 // non-observable modifications on it, such as internalize strings. 141 // non-observable modifications on it, such as internalize strings.
141 Handle<Object> WriteDataValue(Handle<Object> value); 142 Handle<Object> WriteDataValue(Handle<Object> value);
142 143
143 // Checks whether the receiver is an indexed exotic object 144 // Checks whether the receiver is an indexed exotic object
144 // and name is a special numeric index. 145 // and name is a special numeric index.
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 Handle<Object> receiver_; 198 Handle<Object> receiver_;
198 Handle<JSReceiver> holder_; 199 Handle<JSReceiver> holder_;
199 200
200 int number_; 201 int number_;
201 }; 202 };
202 203
203 204
204 } } // namespace v8::internal 205 } } // namespace v8::internal
205 206
206 #endif // V8_LOOKUP_H_ 207 #endif // V8_LOOKUP_H_
OLDNEW
« no previous file with comments | « src/ic/x87/handler-compiler-x87.cc ('k') | src/lookup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698