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/compiler/access-builder.h

Issue 2549773002: Internalize strings in-place (Closed)
Patch Set: fix performance Created 3 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
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_COMPILER_ACCESS_BUILDER_H_ 5 #ifndef V8_COMPILER_ACCESS_BUILDER_H_
6 #define V8_COMPILER_ACCESS_BUILDER_H_ 6 #define V8_COMPILER_ACCESS_BUILDER_H_
7 7
8 #include "src/base/compiler-specific.h" 8 #include "src/base/compiler-specific.h"
9 #include "src/compiler/simplified-operator.h" 9 #include "src/compiler/simplified-operator.h"
10 #include "src/elements-kind.h" 10 #include "src/elements-kind.h"
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 165
166 // Provides access to String::length() field. 166 // Provides access to String::length() field.
167 static FieldAccess ForStringLength(); 167 static FieldAccess ForStringLength();
168 168
169 // Provides access to ConsString::first() field. 169 // Provides access to ConsString::first() field.
170 static FieldAccess ForConsStringFirst(); 170 static FieldAccess ForConsStringFirst();
171 171
172 // Provides access to ConsString::second() field. 172 // Provides access to ConsString::second() field.
173 static FieldAccess ForConsStringSecond(); 173 static FieldAccess ForConsStringSecond();
174 174
175 // Provides access to ThinString::actual() field.
176 static FieldAccess ForThinStringActual();
177
175 // Provides access to SlicedString::offset() field. 178 // Provides access to SlicedString::offset() field.
176 static FieldAccess ForSlicedStringOffset(); 179 static FieldAccess ForSlicedStringOffset();
177 180
178 // Provides access to SlicedString::parent() field. 181 // Provides access to SlicedString::parent() field.
179 static FieldAccess ForSlicedStringParent(); 182 static FieldAccess ForSlicedStringParent();
180 183
181 // Provides access to ExternalString::resource_data() field. 184 // Provides access to ExternalString::resource_data() field.
182 static FieldAccess ForExternalStringResourceData(); 185 static FieldAccess ForExternalStringResourceData();
183 186
184 // Provides access to ExternalOneByteString characters. 187 // Provides access to ExternalOneByteString characters.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 261
259 private: 262 private:
260 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); 263 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder);
261 }; 264 };
262 265
263 } // namespace compiler 266 } // namespace compiler
264 } // namespace internal 267 } // namespace internal
265 } // namespace v8 268 } // namespace v8
266 269
267 #endif // V8_COMPILER_ACCESS_BUILDER_H_ 270 #endif // V8_COMPILER_ACCESS_BUILDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698