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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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. | 68 // Provides access to the SharedFunctionInfo in a JSFunction. |
69 static FieldAccess ForJSFunctionSharedFunctionInfo(); | 69 static FieldAccess ForJSFunctionSharedFunctionInfo(); |
70 | 70 |
71 // Provides access to the TypeFeedbackVector in SharedFunctionInfo. | 71 // Provides access to the TypeFeedbackVector in SharedFunctionInfo. |
72 static FieldAccess ForSharedFunctionInfoTypeFeedbackVector(); | 72 static FieldAccess ForSharedFunctionInfoTypeFeedbackVector(); |
73 | 73 |
| 74 // Provides access to the next frame pointer in a stack frame. |
| 75 static FieldAccess ForFrameCallerFramePtr(); |
| 76 |
| 77 // Provides access to the marker in a stack frame. |
| 78 static FieldAccess ForFrameMarker(); |
| 79 |
74 private: | 80 private: |
75 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 81 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
76 }; | 82 }; |
77 | 83 |
78 } // namespace compiler | 84 } // namespace compiler |
79 } // namespace internal | 85 } // namespace internal |
80 } // namespace v8 | 86 } // namespace v8 |
81 | 87 |
82 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 88 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
OLD | NEW |