| 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.h" | 10 #include "src/ast/ast.h" |
| (...skipping 2212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2223 return function_state()->compilation_info()->language_mode(); | 2223 return function_state()->compilation_info()->language_mode(); |
| 2224 } | 2224 } |
| 2225 | 2225 |
| 2226 #define FOR_EACH_HYDROGEN_INTRINSIC(F) \ | 2226 #define FOR_EACH_HYDROGEN_INTRINSIC(F) \ |
| 2227 F(IsSmi) \ | 2227 F(IsSmi) \ |
| 2228 F(IsArray) \ | 2228 F(IsArray) \ |
| 2229 F(IsTypedArray) \ | 2229 F(IsTypedArray) \ |
| 2230 F(IsRegExp) \ | 2230 F(IsRegExp) \ |
| 2231 F(IsJSProxy) \ | 2231 F(IsJSProxy) \ |
| 2232 F(Call) \ | 2232 F(Call) \ |
| 2233 F(NewObject) \ |
| 2233 F(ValueOf) \ | 2234 F(ValueOf) \ |
| 2234 F(StringCharFromCode) \ | 2235 F(StringCharFromCode) \ |
| 2235 F(StringCharAt) \ | 2236 F(StringCharAt) \ |
| 2236 F(OneByteSeqStringSetChar) \ | 2237 F(OneByteSeqStringSetChar) \ |
| 2237 F(TwoByteSeqStringSetChar) \ | 2238 F(TwoByteSeqStringSetChar) \ |
| 2238 F(ToInteger) \ | 2239 F(ToInteger) \ |
| 2239 F(ToName) \ | 2240 F(ToName) \ |
| 2240 F(ToObject) \ | 2241 F(ToObject) \ |
| 2241 F(ToString) \ | 2242 F(ToString) \ |
| 2242 F(ToLength) \ | 2243 F(ToLength) \ |
| (...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3085 } | 3086 } |
| 3086 | 3087 |
| 3087 private: | 3088 private: |
| 3088 HOptimizedGraphBuilder* builder_; | 3089 HOptimizedGraphBuilder* builder_; |
| 3089 }; | 3090 }; |
| 3090 | 3091 |
| 3091 } // namespace internal | 3092 } // namespace internal |
| 3092 } // namespace v8 | 3093 } // namespace v8 |
| 3093 | 3094 |
| 3094 #endif // V8_CRANKSHAFT_HYDROGEN_H_ | 3095 #endif // V8_CRANKSHAFT_HYDROGEN_H_ |
| OLD | NEW |