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 2153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2164 void ClearInlinedTestContext() { | 2164 void ClearInlinedTestContext() { |
2165 function_state()->ClearInlinedTestContext(); | 2165 function_state()->ClearInlinedTestContext(); |
2166 } | 2166 } |
2167 LanguageMode function_language_mode() { | 2167 LanguageMode function_language_mode() { |
2168 return function_state()->compilation_info()->language_mode(); | 2168 return function_state()->compilation_info()->language_mode(); |
2169 } | 2169 } |
2170 | 2170 |
2171 #define FOR_EACH_HYDROGEN_INTRINSIC(F) \ | 2171 #define FOR_EACH_HYDROGEN_INTRINSIC(F) \ |
2172 F(IsSmi) \ | 2172 F(IsSmi) \ |
2173 F(IsArray) \ | 2173 F(IsArray) \ |
| 2174 F(IsTypedArray) \ |
2174 F(IsRegExp) \ | 2175 F(IsRegExp) \ |
2175 F(IsJSProxy) \ | 2176 F(IsJSProxy) \ |
2176 F(IsConstructCall) \ | 2177 F(IsConstructCall) \ |
2177 F(CallFunction) \ | 2178 F(CallFunction) \ |
2178 F(ArgumentsLength) \ | 2179 F(ArgumentsLength) \ |
2179 F(Arguments) \ | 2180 F(Arguments) \ |
2180 F(ValueOf) \ | 2181 F(ValueOf) \ |
2181 F(SetValueOf) \ | 2182 F(SetValueOf) \ |
2182 F(ThrowIfNotADate) \ | 2183 F(ThrowIfNotADate) \ |
2183 F(DateField) \ | 2184 F(DateField) \ |
(...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3043 } | 3044 } |
3044 | 3045 |
3045 private: | 3046 private: |
3046 HGraphBuilder* builder_; | 3047 HGraphBuilder* builder_; |
3047 }; | 3048 }; |
3048 | 3049 |
3049 | 3050 |
3050 } } // namespace v8::internal | 3051 } } // namespace v8::internal |
3051 | 3052 |
3052 #endif // V8_HYDROGEN_H_ | 3053 #endif // V8_HYDROGEN_H_ |
OLD | NEW |