| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_HYDROGEN_H_ | 5 #ifndef V8_HYDROGEN_H_ |
| 6 #define V8_HYDROGEN_H_ | 6 #define V8_HYDROGEN_H_ |
| 7 | 7 |
| 8 #include "src/v8.h" | 8 #include "src/v8.h" |
| 9 | 9 |
| 10 #include "src/accessors.h" | 10 #include "src/accessors.h" |
| (...skipping 2171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2182 } | 2182 } |
| 2183 HBasicBlock* function_return() const { | 2183 HBasicBlock* function_return() const { |
| 2184 return function_state()->function_return(); | 2184 return function_state()->function_return(); |
| 2185 } | 2185 } |
| 2186 TestContext* inlined_test_context() const { | 2186 TestContext* inlined_test_context() const { |
| 2187 return function_state()->test_context(); | 2187 return function_state()->test_context(); |
| 2188 } | 2188 } |
| 2189 void ClearInlinedTestContext() { | 2189 void ClearInlinedTestContext() { |
| 2190 function_state()->ClearInlinedTestContext(); | 2190 function_state()->ClearInlinedTestContext(); |
| 2191 } | 2191 } |
| 2192 StrictMode function_strict_mode() { | 2192 LanguageMode function_language_mode() { |
| 2193 return function_state()->compilation_info()->strict_mode(); | 2193 return function_state()->compilation_info()->language_mode(); |
| 2194 } | 2194 } |
| 2195 | 2195 |
| 2196 // Generators for inline runtime functions. | 2196 // Generators for inline runtime functions. |
| 2197 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \ | 2197 #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \ |
| 2198 void Generate##Name(CallRuntime* call); | 2198 void Generate##Name(CallRuntime* call); |
| 2199 | 2199 |
| 2200 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) | 2200 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) |
| 2201 INLINE_OPTIMIZED_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) | 2201 INLINE_OPTIMIZED_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_DECLARATION) |
| 2202 #undef INLINE_FUNCTION_GENERATOR_DECLARATION | 2202 #undef INLINE_FUNCTION_GENERATOR_DECLARATION |
| 2203 | 2203 |
| (...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2949 } | 2949 } |
| 2950 | 2950 |
| 2951 private: | 2951 private: |
| 2952 HGraphBuilder* builder_; | 2952 HGraphBuilder* builder_; |
| 2953 }; | 2953 }; |
| 2954 | 2954 |
| 2955 | 2955 |
| 2956 } } // namespace v8::internal | 2956 } } // namespace v8::internal |
| 2957 | 2957 |
| 2958 #endif // V8_HYDROGEN_H_ | 2958 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |