| 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 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1210 LoopBuilder(HGraphBuilder* builder, | 1210 LoopBuilder(HGraphBuilder* builder, |
| 1211 HValue* context, | 1211 HValue* context, |
| 1212 Direction direction); | 1212 Direction direction); |
| 1213 ~LoopBuilder() { | 1213 ~LoopBuilder() { |
| 1214 ASSERT(finished_); | 1214 ASSERT(finished_); |
| 1215 } | 1215 } |
| 1216 | 1216 |
| 1217 HValue* BeginBody( | 1217 HValue* BeginBody( |
| 1218 HValue* initial, | 1218 HValue* initial, |
| 1219 HValue* terminating, | 1219 HValue* terminating, |
| 1220 Token::Value token, | 1220 Token::Value token); |
| 1221 Representation input_representation = Representation::Integer32()); | |
| 1222 void EndBody(); | 1221 void EndBody(); |
| 1223 | 1222 |
| 1224 private: | 1223 private: |
| 1225 Zone* zone() { return builder_->zone(); } | 1224 Zone* zone() { return builder_->zone(); } |
| 1226 | 1225 |
| 1227 HGraphBuilder* builder_; | 1226 HGraphBuilder* builder_; |
| 1228 HValue* context_; | 1227 HValue* context_; |
| 1229 HInstruction* increment_; | 1228 HInstruction* increment_; |
| 1230 HPhi* phi_; | 1229 HPhi* phi_; |
| 1231 HBasicBlock* header_block_; | 1230 HBasicBlock* header_block_; |
| (...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2022 EmbeddedVector<char, 64> filename_; | 2021 EmbeddedVector<char, 64> filename_; |
| 2023 HeapStringAllocator string_allocator_; | 2022 HeapStringAllocator string_allocator_; |
| 2024 StringStream trace_; | 2023 StringStream trace_; |
| 2025 int indent_; | 2024 int indent_; |
| 2026 }; | 2025 }; |
| 2027 | 2026 |
| 2028 | 2027 |
| 2029 } } // namespace v8::internal | 2028 } } // namespace v8::internal |
| 2030 | 2029 |
| 2031 #endif // V8_HYDROGEN_H_ | 2030 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |