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 1110393003: drop interalization of strings entering global constant slots (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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/accessors.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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 } 135 }
136 FieldIndex GetFieldIndex() const; 136 FieldIndex GetFieldIndex() const;
137 Handle<HeapType> GetFieldType() const; 137 Handle<HeapType> GetFieldType() const;
138 int GetAccessorIndex() const; 138 int GetAccessorIndex() const;
139 int GetConstantIndex() const; 139 int GetConstantIndex() const;
140 Handle<PropertyCell> GetPropertyCell() const; 140 Handle<PropertyCell> GetPropertyCell() const;
141 Handle<Object> GetAccessors() const; 141 Handle<Object> GetAccessors() const;
142 Handle<Object> GetDataValue() const; 142 Handle<Object> GetDataValue() const;
143 // Usually returns the value that was passed in, but may perform 143 // Usually returns the value that was passed in, but may perform
144 // non-observable modifications on it, such as internalize strings. 144 // non-observable modifications on it, such as internalize strings.
145 Handle<Object> WriteDataValue(Handle<Object> value); 145 void WriteDataValue(Handle<Object> value);
146 void InternalizeName(); 146 void InternalizeName();
147 147
148 private: 148 private:
149 enum class InterceptorState { 149 enum class InterceptorState {
150 kUninitialized, 150 kUninitialized,
151 kSkipNonMasking, 151 kSkipNonMasking,
152 kProcessNonMasking 152 kProcessNonMasking
153 }; 153 };
154 154
155 Handle<Map> GetReceiverMap() const; 155 Handle<Map> GetReceiverMap() const;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 Handle<JSReceiver> holder_; 210 Handle<JSReceiver> holder_;
211 Handle<Map> holder_map_; 211 Handle<Map> holder_map_;
212 const Handle<JSReceiver> initial_holder_; 212 const Handle<JSReceiver> initial_holder_;
213 int number_; 213 int number_;
214 }; 214 };
215 215
216 216
217 } } // namespace v8::internal 217 } } // namespace v8::internal
218 218
219 #endif // V8_LOOKUP_H_ 219 #endif // V8_LOOKUP_H_
OLDNEW
« no previous file with comments | « src/accessors.cc ('k') | src/lookup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698