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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 void PostorderLoopBlocks(HLoopInformation* loop, | 270 void PostorderLoopBlocks(HLoopInformation* loop, |
271 BitVector* visited, | 271 BitVector* visited, |
272 ZoneList<HBasicBlock*>* order, | 272 ZoneList<HBasicBlock*>* order, |
273 HBasicBlock* loop_header); | 273 HBasicBlock* loop_header); |
274 HConstant* GetConstant(SetOncePointer<HConstant>* pointer, | 274 HConstant* GetConstant(SetOncePointer<HConstant>* pointer, |
275 Object* value); | 275 Object* value); |
276 | 276 |
277 void InsertTypeConversions(HInstruction* instr); | 277 void InsertTypeConversions(HInstruction* instr); |
278 void PropagateMinusZeroChecks(HValue* value, BitVector* visited); | 278 void PropagateMinusZeroChecks(HValue* value, BitVector* visited); |
279 void InsertRepresentationChangeForUse(HValue* value, | 279 void InsertRepresentationChangeForUse(HValue* value, |
280 HValue* use, | 280 HValue* use_value, |
| 281 int use_index, |
281 Representation to); | 282 Representation to); |
282 void InsertRepresentationChangesForValue(HValue* current, | 283 void InsertRepresentationChangesForValue(HValue* value); |
283 ZoneList<HValue*>* value_list, | |
284 ZoneList<Representation>* rep_list); | |
285 void InferTypes(ZoneList<HValue*>* worklist); | 284 void InferTypes(ZoneList<HValue*>* worklist); |
286 void InitializeInferredTypes(int from_inclusive, int to_inclusive); | 285 void InitializeInferredTypes(int from_inclusive, int to_inclusive); |
287 void CheckForBackEdge(HBasicBlock* block, HBasicBlock* successor); | 286 void CheckForBackEdge(HBasicBlock* block, HBasicBlock* successor); |
288 | 287 |
289 Isolate* isolate_; | 288 Isolate* isolate_; |
290 int next_block_id_; | 289 int next_block_id_; |
291 HBasicBlock* entry_block_; | 290 HBasicBlock* entry_block_; |
292 HEnvironment* start_environment_; | 291 HEnvironment* start_environment_; |
293 ZoneList<HBasicBlock*> blocks_; | 292 ZoneList<HBasicBlock*> blocks_; |
294 ZoneList<HValue*> values_; | 293 ZoneList<HValue*> values_; |
(...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1140 const char* filename_; | 1139 const char* filename_; |
1141 HeapStringAllocator string_allocator_; | 1140 HeapStringAllocator string_allocator_; |
1142 StringStream trace_; | 1141 StringStream trace_; |
1143 int indent_; | 1142 int indent_; |
1144 }; | 1143 }; |
1145 | 1144 |
1146 | 1145 |
1147 } } // namespace v8::internal | 1146 } } // namespace v8::internal |
1148 | 1147 |
1149 #endif // V8_HYDROGEN_H_ | 1148 #endif // V8_HYDROGEN_H_ |
OLD | NEW |