| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #include "src/base/bits.h" | 7 #include "src/base/bits.h" |
| 8 #include "src/double.h" | 8 #include "src/double.h" |
| 9 #include "src/factory.h" | 9 #include "src/factory.h" |
| 10 #include "src/hydrogen-infer-representation.h" | 10 #include "src/hydrogen-infer-representation.h" |
| (...skipping 2644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2655 | 2655 |
| 2656 | 2656 |
| 2657 void HEnterInlined::RegisterReturnTarget(HBasicBlock* return_target, | 2657 void HEnterInlined::RegisterReturnTarget(HBasicBlock* return_target, |
| 2658 Zone* zone) { | 2658 Zone* zone) { |
| 2659 DCHECK(return_target->IsInlineReturnTarget()); | 2659 DCHECK(return_target->IsInlineReturnTarget()); |
| 2660 return_targets_.Add(return_target, zone); | 2660 return_targets_.Add(return_target, zone); |
| 2661 } | 2661 } |
| 2662 | 2662 |
| 2663 | 2663 |
| 2664 std::ostream& HEnterInlined::PrintDataTo(std::ostream& os) const { // NOLINT | 2664 std::ostream& HEnterInlined::PrintDataTo(std::ostream& os) const { // NOLINT |
| 2665 return os << function()->debug_name()->ToCString().get() | 2665 return os << function()->debug_name()->ToCString().get(); |
| 2666 << ", id=" << function()->id().ToInt(); | |
| 2667 } | 2666 } |
| 2668 | 2667 |
| 2669 | 2668 |
| 2670 static bool IsInteger32(double value) { | 2669 static bool IsInteger32(double value) { |
| 2671 double roundtrip_value = static_cast<double>(static_cast<int32_t>(value)); | 2670 double roundtrip_value = static_cast<double>(static_cast<int32_t>(value)); |
| 2672 return bit_cast<int64_t>(roundtrip_value) == bit_cast<int64_t>(value); | 2671 return bit_cast<int64_t>(roundtrip_value) == bit_cast<int64_t>(value); |
| 2673 } | 2672 } |
| 2674 | 2673 |
| 2675 | 2674 |
| 2676 HConstant::HConstant(Handle<Object> object, Representation r) | 2675 HConstant::HConstant(Handle<Object> object, Representation r) |
| (...skipping 2116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4793 break; | 4792 break; |
| 4794 case HObjectAccess::kExternalMemory: | 4793 case HObjectAccess::kExternalMemory: |
| 4795 os << "[external-memory]"; | 4794 os << "[external-memory]"; |
| 4796 break; | 4795 break; |
| 4797 } | 4796 } |
| 4798 | 4797 |
| 4799 return os << "@" << access.offset(); | 4798 return os << "@" << access.offset(); |
| 4800 } | 4799 } |
| 4801 | 4800 |
| 4802 } } // namespace v8::internal | 4801 } } // namespace v8::internal |
| OLD | NEW |