| OLD | NEW |
| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 // Provides access to FixedArray elements. | 58 // Provides access to FixedArray elements. |
| 59 static ElementAccess ForFixedArrayElement(); | 59 static ElementAccess ForFixedArrayElement(); |
| 60 | 60 |
| 61 // Provides access to Fixed{type}TypedArray and External{type}Array elements. | 61 // Provides access to Fixed{type}TypedArray and External{type}Array elements. |
| 62 static ElementAccess ForTypedArrayElement(ExternalArrayType type, | 62 static ElementAccess ForTypedArrayElement(ExternalArrayType type, |
| 63 bool is_external); | 63 bool is_external); |
| 64 | 64 |
| 65 // Provides access to the charaters of sequential strings. | 65 // Provides access to the charaters of sequential strings. |
| 66 static ElementAccess ForSeqStringChar(String::Encoding encoding); | 66 static ElementAccess ForSeqStringChar(String::Encoding encoding); |
| 67 | 67 |
| 68 // Provides access to the SharedFunctionInfo in a JSFunction. |
| 69 static FieldAccess ForJSFunctionSharedFunctionInfo(); |
| 70 |
| 71 // Provides access to the TypeFeedbackVector in SharedFunctionInfo. |
| 72 static FieldAccess ForSharedFunctionInfoTypeFeedbackVector(); |
| 73 |
| 68 private: | 74 private: |
| 69 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 75 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
| 70 }; | 76 }; |
| 71 | 77 |
| 72 } // namespace compiler | 78 } // namespace compiler |
| 73 } // namespace internal | 79 } // namespace internal |
| 74 } // namespace v8 | 80 } // namespace v8 |
| 75 | 81 |
| 76 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 82 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
| OLD | NEW |