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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 is_recursive_ = true; | 341 is_recursive_ = true; |
342 } | 342 } |
343 | 343 |
344 bool is_recursive() const { | 344 bool is_recursive() const { |
345 return is_recursive_; | 345 return is_recursive_; |
346 } | 346 } |
347 | 347 |
348 private: | 348 private: |
349 HConstant* GetConstant(SetOncePointer<HConstant>* pointer, | 349 HConstant* GetConstant(SetOncePointer<HConstant>* pointer, |
350 Handle<Object> value); | 350 Handle<Object> value); |
| 351 HConstant* GetConstantInt32(SetOncePointer<HConstant>* pointer, |
| 352 int32_t integer_value); |
351 | 353 |
352 void MarkAsDeoptimizingRecursively(HBasicBlock* block); | 354 void MarkAsDeoptimizingRecursively(HBasicBlock* block); |
353 void InsertTypeConversions(HInstruction* instr); | 355 void InsertTypeConversions(HInstruction* instr); |
354 void PropagateMinusZeroChecks(HValue* value, BitVector* visited); | 356 void PropagateMinusZeroChecks(HValue* value, BitVector* visited); |
355 void RecursivelyMarkPhiDeoptimizeOnUndefined(HPhi* phi); | 357 void RecursivelyMarkPhiDeoptimizeOnUndefined(HPhi* phi); |
356 void InsertRepresentationChangeForUse(HValue* value, | 358 void InsertRepresentationChangeForUse(HValue* value, |
357 HValue* use_value, | 359 HValue* use_value, |
358 int use_index, | 360 int use_index, |
359 Representation to); | 361 Representation to); |
360 void InsertRepresentationChangesForValue(HValue* value); | 362 void InsertRepresentationChangesForValue(HValue* value); |
(...skipping 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1445 const char* filename_; | 1447 const char* filename_; |
1446 HeapStringAllocator string_allocator_; | 1448 HeapStringAllocator string_allocator_; |
1447 StringStream trace_; | 1449 StringStream trace_; |
1448 int indent_; | 1450 int indent_; |
1449 }; | 1451 }; |
1450 | 1452 |
1451 | 1453 |
1452 } } // namespace v8::internal | 1454 } } // namespace v8::internal |
1453 | 1455 |
1454 #endif // V8_HYDROGEN_H_ | 1456 #endif // V8_HYDROGEN_H_ |
OLD | NEW |