OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 ZoneList<HBasicBlock*>* order, | 289 ZoneList<HBasicBlock*>* order, |
290 HBasicBlock* loop_header); | 290 HBasicBlock* loop_header); |
291 HConstant* GetConstant(SetOncePointer<HConstant>* pointer, | 291 HConstant* GetConstant(SetOncePointer<HConstant>* pointer, |
292 Object* value); | 292 Object* value); |
293 | 293 |
294 void InsertTypeConversions(HInstruction* instr); | 294 void InsertTypeConversions(HInstruction* instr); |
295 void PropagateMinusZeroChecks(HValue* value, BitVector* visited); | 295 void PropagateMinusZeroChecks(HValue* value, BitVector* visited); |
296 void InsertRepresentationChangeForUse(HValue* value, | 296 void InsertRepresentationChangeForUse(HValue* value, |
297 HValue* use, | 297 HValue* use, |
298 Representation to); | 298 Representation to); |
299 void InsertRepresentationChanges(HValue* current); | 299 void InsertRepresentationChangesForValue(HValue* current, |
| 300 ZoneList<HValue*>* value_list, |
| 301 ZoneList<Representation>* rep_list); |
300 void InferTypes(ZoneList<HValue*>* worklist); | 302 void InferTypes(ZoneList<HValue*>* worklist); |
301 void InitializeInferredTypes(int from_inclusive, int to_inclusive); | 303 void InitializeInferredTypes(int from_inclusive, int to_inclusive); |
302 void CheckForBackEdge(HBasicBlock* block, HBasicBlock* successor); | 304 void CheckForBackEdge(HBasicBlock* block, HBasicBlock* successor); |
303 | 305 |
304 int next_block_id_; | 306 int next_block_id_; |
305 HEnvironment* start_environment_; | 307 HEnvironment* start_environment_; |
306 ZoneList<HBasicBlock*> blocks_; | 308 ZoneList<HBasicBlock*> blocks_; |
307 ZoneList<HValue*> values_; | 309 ZoneList<HValue*> values_; |
308 ZoneList<HPhi*>* phi_list_; | 310 ZoneList<HPhi*>* phi_list_; |
309 SetOncePointer<HConstant> undefined_constant_; | 311 SetOncePointer<HConstant> undefined_constant_; |
(...skipping 819 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1129 const char* filename_; | 1131 const char* filename_; |
1130 HeapStringAllocator string_allocator_; | 1132 HeapStringAllocator string_allocator_; |
1131 StringStream trace_; | 1133 StringStream trace_; |
1132 int indent_; | 1134 int indent_; |
1133 }; | 1135 }; |
1134 | 1136 |
1135 | 1137 |
1136 } } // namespace v8::internal | 1138 } } // namespace v8::internal |
1137 | 1139 |
1138 #endif // V8_HYDROGEN_H_ | 1140 #endif // V8_HYDROGEN_H_ |
OLD | NEW |