| 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/accessors.h" | 8 #include "src/accessors.h" |
| 9 #include "src/allocation.h" | 9 #include "src/allocation.h" |
| 10 #include "src/ast.h" | 10 #include "src/ast.h" |
| (...skipping 1425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1436 Strength strength, | 1436 Strength strength, |
| 1437 BailoutId opt_id = BailoutId::None()); | 1437 BailoutId opt_id = BailoutId::None()); |
| 1438 | 1438 |
| 1439 HLoadNamedField* AddLoadFixedArrayLength(HValue *object, | 1439 HLoadNamedField* AddLoadFixedArrayLength(HValue *object, |
| 1440 HValue *dependency = NULL); | 1440 HValue *dependency = NULL); |
| 1441 | 1441 |
| 1442 HLoadNamedField* AddLoadArrayLength(HValue *object, | 1442 HLoadNamedField* AddLoadArrayLength(HValue *object, |
| 1443 ElementsKind kind, | 1443 ElementsKind kind, |
| 1444 HValue *dependency = NULL); | 1444 HValue *dependency = NULL); |
| 1445 | 1445 |
| 1446 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); | 1446 HValue* AddLoadJSBuiltin(int context_index); |
| 1447 | 1447 |
| 1448 HValue* EnforceNumberType(HValue* number, Type* expected); | 1448 HValue* EnforceNumberType(HValue* number, Type* expected); |
| 1449 HValue* TruncateToNumber(HValue* value, Type** expected); | 1449 HValue* TruncateToNumber(HValue* value, Type** expected); |
| 1450 | 1450 |
| 1451 void FinishExitWithHardDeoptimization(Deoptimizer::DeoptReason reason); | 1451 void FinishExitWithHardDeoptimization(Deoptimizer::DeoptReason reason); |
| 1452 | 1452 |
| 1453 void AddIncrementCounter(StatsCounter* counter); | 1453 void AddIncrementCounter(StatsCounter* counter); |
| 1454 | 1454 |
| 1455 class IfBuilder final { | 1455 class IfBuilder final { |
| 1456 public: | 1456 public: |
| (...skipping 1585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3042 } | 3042 } |
| 3043 | 3043 |
| 3044 private: | 3044 private: |
| 3045 HGraphBuilder* builder_; | 3045 HGraphBuilder* builder_; |
| 3046 }; | 3046 }; |
| 3047 | 3047 |
| 3048 | 3048 |
| 3049 } } // namespace v8::internal | 3049 } } // namespace v8::internal |
| 3050 | 3050 |
| 3051 #endif // V8_HYDROGEN_H_ | 3051 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |