| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 | 76 |
| 77 // Provides access to the charaters of sequential strings. | 77 // Provides access to the charaters of sequential strings. |
| 78 static ElementAccess ForSeqStringChar(String::Encoding encoding); | 78 static ElementAccess ForSeqStringChar(String::Encoding encoding); |
| 79 | 79 |
| 80 // Provides access to the SharedFunctionInfo in a JSFunction. | 80 // Provides access to the SharedFunctionInfo in a JSFunction. |
| 81 static FieldAccess ForJSFunctionSharedFunctionInfo(); | 81 static FieldAccess ForJSFunctionSharedFunctionInfo(); |
| 82 | 82 |
| 83 // Provides access to the TypeFeedbackVector in SharedFunctionInfo. | 83 // Provides access to the TypeFeedbackVector in SharedFunctionInfo. |
| 84 static FieldAccess ForSharedFunctionInfoTypeFeedbackVector(); | 84 static FieldAccess ForSharedFunctionInfoTypeFeedbackVector(); |
| 85 | 85 |
| 86 // Provides access to the next frame pointer in a stack frame. |
| 87 static FieldAccess ForFrameCallerFramePtr(); |
| 88 |
| 89 // Provides access to the marker in a stack frame. |
| 90 static FieldAccess ForFrameMarker(); |
| 91 |
| 86 private: | 92 private: |
| 87 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 93 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
| 88 }; | 94 }; |
| 89 | 95 |
| 90 } // namespace compiler | 96 } // namespace compiler |
| 91 } // namespace internal | 97 } // namespace internal |
| 92 } // namespace v8 | 98 } // namespace v8 |
| 93 | 99 |
| 94 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 100 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
| OLD | NEW |