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

Side by Side Diff: src/lookup.h

Issue 1172683003: Use the LookupIterator for SetElement and friends (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years, 6 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/liveedit.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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 return property_details().representation(); 205 return property_details().representation();
206 } 206 }
207 FieldIndex GetFieldIndex() const; 207 FieldIndex GetFieldIndex() const;
208 Handle<HeapType> GetFieldType() const; 208 Handle<HeapType> GetFieldType() const;
209 int GetAccessorIndex() const; 209 int GetAccessorIndex() const;
210 int GetConstantIndex() const; 210 int GetConstantIndex() const;
211 Handle<PropertyCell> GetPropertyCell() const; 211 Handle<PropertyCell> GetPropertyCell() const;
212 Handle<Object> GetAccessors() const; 212 Handle<Object> GetAccessors() const;
213 Handle<InterceptorInfo> GetInterceptor() const; 213 Handle<InterceptorInfo> GetInterceptor() const;
214 Handle<Object> GetDataValue() const; 214 Handle<Object> GetDataValue() const;
215 // Usually returns the value that was passed in, but may perform 215 // Usually returns the value that was passed in. In case of typed array
216 // non-observable modifications on it, such as internalize strings. 216 // accesses it returns the converted value.
217 void WriteDataValue(Handle<Object> value); 217 Handle<Object> WriteDataValue(Handle<Object> value);
218 void InternalizeName(); 218 void InternalizeName();
219 219
220 private: 220 private:
221 enum class InterceptorState { 221 enum class InterceptorState {
222 kUninitialized, 222 kUninitialized,
223 kSkipNonMasking, 223 kSkipNonMasking,
224 kProcessNonMasking 224 kProcessNonMasking
225 }; 225 };
226 226
227 Handle<Map> GetReceiverMap() const; 227 Handle<Map> GetReceiverMap() const;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 Handle<JSReceiver> holder_; 286 Handle<JSReceiver> holder_;
287 Handle<Map> holder_map_; 287 Handle<Map> holder_map_;
288 const Handle<JSReceiver> initial_holder_; 288 const Handle<JSReceiver> initial_holder_;
289 uint32_t number_; 289 uint32_t number_;
290 }; 290 };
291 291
292 292
293 } } // namespace v8::internal 293 } } // namespace v8::internal
294 294
295 #endif // V8_LOOKUP_H_ 295 #endif // V8_LOOKUP_H_
OLDNEW
« no previous file with comments | « src/liveedit.cc ('k') | src/lookup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698