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

Side by Side Diff: src/compiler/access-builder.h

Issue 1013753016: Add full TurboFan support for accessing SeqString contents. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed return value Created 5 years, 9 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 | « no previous file | src/compiler/access-builder.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_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/compiler/simplified-operator.h" 8 #include "src/compiler/simplified-operator.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 // Provides access Context slots. 46 // Provides access Context slots.
47 static FieldAccess ForContextSlot(size_t index); 47 static FieldAccess ForContextSlot(size_t index);
48 48
49 // Provides access to FixedArray elements. 49 // Provides access to FixedArray elements.
50 static ElementAccess ForFixedArrayElement(); 50 static ElementAccess ForFixedArrayElement();
51 51
52 // Provides access to Fixed{type}TypedArray and External{type}Array elements. 52 // Provides access to Fixed{type}TypedArray and External{type}Array elements.
53 static ElementAccess ForTypedArrayElement(ExternalArrayType type, 53 static ElementAccess ForTypedArrayElement(ExternalArrayType type,
54 bool is_external); 54 bool is_external);
55 55
56 // Provides access to the charaters of sequential strings.
57 static ElementAccess ForSeqStringChar(String::Encoding encoding);
58
56 private: 59 private:
57 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); 60 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder);
58 }; 61 };
59 62
60 } // namespace compiler 63 } // namespace compiler
61 } // namespace internal 64 } // namespace internal
62 } // namespace v8 65 } // namespace v8
63 66
64 #endif // V8_COMPILER_ACCESS_BUILDER_H_ 67 #endif // V8_COMPILER_ACCESS_BUILDER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/access-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698