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

Side by Side Diff: src/lookup.h

Issue 652303002: Correct semantics for numerically indexed stores to typed arrays. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Disabled test, filed bug Created 6 years, 2 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/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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 GetConstantIndex() const; 135 int GetConstantIndex() const;
136 Handle<PropertyCell> GetPropertyCell() const; 136 Handle<PropertyCell> GetPropertyCell() const;
137 Handle<Object> GetAccessors() const; 137 Handle<Object> GetAccessors() const;
138 Handle<Object> GetDataValue() const; 138 Handle<Object> GetDataValue() const;
139 void WriteDataValue(Handle<Object> value); 139 void WriteDataValue(Handle<Object> value);
140 140
141 // Checks whether the receiver is an indexed exotic object
142 // and name is a special numeric index.
143 bool IsSpecialNumericIndex() const;
144
141 void InternalizeName(); 145 void InternalizeName();
142 146
143 private: 147 private:
144 Handle<Map> GetReceiverMap() const; 148 Handle<Map> GetReceiverMap() const;
145 149
146 MUST_USE_RESULT inline JSReceiver* NextHolder(Map* map); 150 MUST_USE_RESULT inline JSReceiver* NextHolder(Map* map);
147 inline State LookupInHolder(Map* map, JSReceiver* holder); 151 inline State LookupInHolder(Map* map, JSReceiver* holder);
148 Handle<Object> FetchValue() const; 152 Handle<Object> FetchValue() const;
149 void ReloadPropertyInformation(); 153 void ReloadPropertyInformation();
150 154
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 Handle<Object> receiver_; 194 Handle<Object> receiver_;
191 Handle<JSReceiver> holder_; 195 Handle<JSReceiver> holder_;
192 196
193 int number_; 197 int number_;
194 }; 198 };
195 199
196 200
197 } } // namespace v8::internal 201 } } // namespace v8::internal
198 202
199 #endif // V8_LOOKUP_H_ 203 #endif // V8_LOOKUP_H_
OLDNEW
« no previous file with comments | « no previous file | src/lookup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698