OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1302 Maybe<int> fixed_right_arg, | 1302 Maybe<int> fixed_right_arg, |
1303 bool binop_stub = false); | 1303 bool binop_stub = false); |
1304 | 1304 |
1305 HLoadNamedField* AddLoadFixedArrayLength(HValue *object); | 1305 HLoadNamedField* AddLoadFixedArrayLength(HValue *object); |
1306 | 1306 |
1307 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); | 1307 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); |
1308 | 1308 |
1309 HValue* EnforceNumberType(HValue* number, Handle<Type> expected); | 1309 HValue* EnforceNumberType(HValue* number, Handle<Type> expected); |
1310 HValue* TruncateToNumber(HValue* value, Handle<Type>* expected); | 1310 HValue* TruncateToNumber(HValue* value, Handle<Type>* expected); |
1311 | 1311 |
1312 void PushAndAdd(HInstruction* instr); | |
1313 | |
1314 void FinishExitWithHardDeoptimization(const char* reason, | 1312 void FinishExitWithHardDeoptimization(const char* reason, |
1315 HBasicBlock* continuation); | 1313 HBasicBlock* continuation); |
1316 | 1314 |
1317 void AddIncrementCounter(StatsCounter* counter); | 1315 void AddIncrementCounter(StatsCounter* counter); |
1318 | 1316 |
1319 class IfBuilder V8_FINAL { | 1317 class IfBuilder V8_FINAL { |
1320 public: | 1318 public: |
1321 explicit IfBuilder(HGraphBuilder* builder); | 1319 explicit IfBuilder(HGraphBuilder* builder); |
1322 IfBuilder(HGraphBuilder* builder, | 1320 IfBuilder(HGraphBuilder* builder, |
1323 HIfContinuation* continuation); | 1321 HIfContinuation* continuation); |
(...skipping 1161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2485 } | 2483 } |
2486 | 2484 |
2487 private: | 2485 private: |
2488 HGraphBuilder* builder_; | 2486 HGraphBuilder* builder_; |
2489 }; | 2487 }; |
2490 | 2488 |
2491 | 2489 |
2492 } } // namespace v8::internal | 2490 } } // namespace v8::internal |
2493 | 2491 |
2494 #endif // V8_HYDROGEN_H_ | 2492 #endif // V8_HYDROGEN_H_ |
OLD | NEW |