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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 BitVector* visited, | 295 BitVector* visited, |
296 ZoneList<HBasicBlock*>* order, | 296 ZoneList<HBasicBlock*>* order, |
297 HBasicBlock* loop_header); | 297 HBasicBlock* loop_header); |
298 HConstant* GetConstant(SetOncePointer<HConstant>* pointer, | 298 HConstant* GetConstant(SetOncePointer<HConstant>* pointer, |
299 Object* value); | 299 Object* value); |
300 | 300 |
301 void InsertTypeConversions(HInstruction* instr); | 301 void InsertTypeConversions(HInstruction* instr); |
302 void PropagateMinusZeroChecks(HValue* value, BitVector* visited); | 302 void PropagateMinusZeroChecks(HValue* value, BitVector* visited); |
303 void InsertRepresentationChangeForUse(HValue* value, | 303 void InsertRepresentationChangeForUse(HValue* value, |
304 HValue* use, | 304 HValue* use, |
305 Representation to, | 305 Representation to); |
306 bool truncating); | |
307 void InsertRepresentationChanges(HValue* current); | 306 void InsertRepresentationChanges(HValue* current); |
308 void InferTypes(ZoneList<HValue*>* worklist); | 307 void InferTypes(ZoneList<HValue*>* worklist); |
309 void InitializeInferredTypes(int from_inclusive, int to_inclusive); | 308 void InitializeInferredTypes(int from_inclusive, int to_inclusive); |
310 void CheckForBackEdge(HBasicBlock* block, HBasicBlock* successor); | 309 void CheckForBackEdge(HBasicBlock* block, HBasicBlock* successor); |
311 | 310 |
312 int next_block_id_; | 311 int next_block_id_; |
313 CompilationInfo* info_; | 312 CompilationInfo* info_; |
314 HEnvironment* start_environment_; | 313 HEnvironment* start_environment_; |
315 ZoneList<HBasicBlock*> blocks_; | 314 ZoneList<HBasicBlock*> blocks_; |
316 ZoneList<HValue*> values_; | 315 ZoneList<HValue*> values_; |
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1078 const char* filename_; | 1077 const char* filename_; |
1079 HeapStringAllocator string_allocator_; | 1078 HeapStringAllocator string_allocator_; |
1080 StringStream trace_; | 1079 StringStream trace_; |
1081 int indent_; | 1080 int indent_; |
1082 }; | 1081 }; |
1083 | 1082 |
1084 | 1083 |
1085 } } // namespace v8::internal | 1084 } } // namespace v8::internal |
1086 | 1085 |
1087 #endif // V8_HYDROGEN_H_ | 1086 #endif // V8_HYDROGEN_H_ |
OLD | NEW |