| 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_CRANKSHAFT_HYDROGEN_H_ | 5 #ifndef V8_CRANKSHAFT_HYDROGEN_H_ |
| 6 #define V8_CRANKSHAFT_HYDROGEN_H_ | 6 #define V8_CRANKSHAFT_HYDROGEN_H_ |
| 7 | 7 |
| 8 #include "src/accessors.h" | 8 #include "src/accessors.h" |
| 9 #include "src/allocation.h" | 9 #include "src/allocation.h" |
| 10 #include "src/ast/ast-type-bounds.h" | 10 #include "src/ast/ast-type-bounds.h" |
| (...skipping 2138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2149 function_state()->ClearInlinedTestContext(); | 2149 function_state()->ClearInlinedTestContext(); |
| 2150 } | 2150 } |
| 2151 LanguageMode function_language_mode() { | 2151 LanguageMode function_language_mode() { |
| 2152 return function_state()->compilation_info()->parse_info()->language_mode(); | 2152 return function_state()->compilation_info()->parse_info()->language_mode(); |
| 2153 } | 2153 } |
| 2154 | 2154 |
| 2155 #define FOR_EACH_HYDROGEN_INTRINSIC(F) \ | 2155 #define FOR_EACH_HYDROGEN_INTRINSIC(F) \ |
| 2156 F(IsSmi) \ | 2156 F(IsSmi) \ |
| 2157 F(IsArray) \ | 2157 F(IsArray) \ |
| 2158 F(IsTypedArray) \ | 2158 F(IsTypedArray) \ |
| 2159 F(IsRegExp) \ |
| 2159 F(IsJSProxy) \ | 2160 F(IsJSProxy) \ |
| 2160 F(Call) \ | 2161 F(Call) \ |
| 2161 F(NewObject) \ | 2162 F(NewObject) \ |
| 2162 F(ToInteger) \ | 2163 F(ToInteger) \ |
| 2163 F(ToObject) \ | 2164 F(ToObject) \ |
| 2164 F(ToString) \ | 2165 F(ToString) \ |
| 2165 F(ToLength) \ | 2166 F(ToLength) \ |
| 2166 F(ToNumber) \ | 2167 F(ToNumber) \ |
| 2167 F(IsJSReceiver) \ | 2168 F(IsJSReceiver) \ |
| 2168 F(DebugBreakInOptimizedCode) \ | 2169 F(DebugBreakInOptimizedCode) \ |
| (...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2981 } | 2982 } |
| 2982 | 2983 |
| 2983 private: | 2984 private: |
| 2984 HOptimizedGraphBuilder* builder_; | 2985 HOptimizedGraphBuilder* builder_; |
| 2985 }; | 2986 }; |
| 2986 | 2987 |
| 2987 } // namespace internal | 2988 } // namespace internal |
| 2988 } // namespace v8 | 2989 } // namespace v8 |
| 2989 | 2990 |
| 2990 #endif // V8_CRANKSHAFT_HYDROGEN_H_ | 2991 #endif // V8_CRANKSHAFT_HYDROGEN_H_ |
| OLD | NEW |