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

Side by Side Diff: src/lookup.h

Issue 659313002: Revert "Correct semantics for numerically indexed stores to typed arrays." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
145 void InternalizeName(); 141 void InternalizeName();
146 142
147 private: 143 private:
148 Handle<Map> GetReceiverMap() const; 144 Handle<Map> GetReceiverMap() const;
149 145
150 MUST_USE_RESULT inline JSReceiver* NextHolder(Map* map); 146 MUST_USE_RESULT inline JSReceiver* NextHolder(Map* map);
151 inline State LookupInHolder(Map* map, JSReceiver* holder); 147 inline State LookupInHolder(Map* map, JSReceiver* holder);
152 Handle<Object> FetchValue() const; 148 Handle<Object> FetchValue() const;
153 void ReloadPropertyInformation(); 149 void ReloadPropertyInformation();
154 150
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 Handle<Object> receiver_; 190 Handle<Object> receiver_;
195 Handle<JSReceiver> holder_; 191 Handle<JSReceiver> holder_;
196 192
197 int number_; 193 int number_;
198 }; 194 };
199 195
200 196
201 } } // namespace v8::internal 197 } } // namespace v8::internal
202 198
203 #endif // V8_LOOKUP_H_ 199 #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