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 1253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1264 | 1264 |
1265 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); | 1265 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); |
1266 | 1266 |
1267 HValue* TruncateToNumber(HValue* value, Handle<Type>* expected); | 1267 HValue* TruncateToNumber(HValue* value, Handle<Type>* expected); |
1268 | 1268 |
1269 void PushAndAdd(HInstruction* instr); | 1269 void PushAndAdd(HInstruction* instr); |
1270 | 1270 |
1271 void FinishExitWithHardDeoptimization(const char* reason, | 1271 void FinishExitWithHardDeoptimization(const char* reason, |
1272 HBasicBlock* continuation); | 1272 HBasicBlock* continuation); |
1273 | 1273 |
1274 void AddIncrementCounter(StatsCounter* counter, | 1274 void AddIncrementCounter(StatsCounter* counter); |
1275 HValue* context); | |
1276 | 1275 |
1277 class IfBuilder V8_FINAL { | 1276 class IfBuilder V8_FINAL { |
1278 public: | 1277 public: |
1279 explicit IfBuilder(HGraphBuilder* builder, | 1278 explicit IfBuilder(HGraphBuilder* builder, |
1280 int position = RelocInfo::kNoPosition); | 1279 int position = RelocInfo::kNoPosition); |
1281 IfBuilder(HGraphBuilder* builder, | 1280 IfBuilder(HGraphBuilder* builder, |
1282 HIfContinuation* continuation); | 1281 HIfContinuation* continuation); |
1283 | 1282 |
1284 ~IfBuilder() { | 1283 ~IfBuilder() { |
1285 if (!finished_) End(); | 1284 if (!finished_) End(); |
(...skipping 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2301 } | 2300 } |
2302 | 2301 |
2303 private: | 2302 private: |
2304 HGraphBuilder* builder_; | 2303 HGraphBuilder* builder_; |
2305 }; | 2304 }; |
2306 | 2305 |
2307 | 2306 |
2308 } } // namespace v8::internal | 2307 } } // namespace v8::internal |
2309 | 2308 |
2310 #endif // V8_HYDROGEN_H_ | 2309 #endif // V8_HYDROGEN_H_ |
OLD | NEW |