OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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/objects.h" | 5 #include "src/objects.h" |
6 | 6 |
7 #include <cmath> | 7 #include <cmath> |
8 #include <iomanip> | 8 #include <iomanip> |
9 #include <sstream> | 9 #include <sstream> |
10 | 10 |
(...skipping 12144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12155 | 12155 |
12156 case Translation::BOOL_REGISTER: { | 12156 case Translation::BOOL_REGISTER: { |
12157 int reg_code = iterator.Next(); | 12157 int reg_code = iterator.Next(); |
12158 os << "{input=" << converter.NameOfCPURegister(reg_code) | 12158 os << "{input=" << converter.NameOfCPURegister(reg_code) |
12159 << " (bool)}"; | 12159 << " (bool)}"; |
12160 break; | 12160 break; |
12161 } | 12161 } |
12162 | 12162 |
12163 case Translation::DOUBLE_REGISTER: { | 12163 case Translation::DOUBLE_REGISTER: { |
12164 int reg_code = iterator.Next(); | 12164 int reg_code = iterator.Next(); |
12165 os << "{input=" << DoubleRegister::from_code(reg_code).ToString() | 12165 os << "{input=" << DoubleRegister::AllocationIndexToString(reg_code) |
12166 << "}"; | 12166 << "}"; |
12167 break; | 12167 break; |
12168 } | 12168 } |
12169 | 12169 |
12170 case Translation::STACK_SLOT: { | 12170 case Translation::STACK_SLOT: { |
12171 int input_slot_index = iterator.Next(); | 12171 int input_slot_index = iterator.Next(); |
12172 os << "{input=" << input_slot_index << "}"; | 12172 os << "{input=" << input_slot_index << "}"; |
12173 break; | 12173 break; |
12174 } | 12174 } |
12175 | 12175 |
(...skipping 4593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16769 if (cell->value() != *new_value) { | 16769 if (cell->value() != *new_value) { |
16770 cell->set_value(*new_value); | 16770 cell->set_value(*new_value); |
16771 Isolate* isolate = cell->GetIsolate(); | 16771 Isolate* isolate = cell->GetIsolate(); |
16772 cell->dependent_code()->DeoptimizeDependentCodeGroup( | 16772 cell->dependent_code()->DeoptimizeDependentCodeGroup( |
16773 isolate, DependentCode::kPropertyCellChangedGroup); | 16773 isolate, DependentCode::kPropertyCellChangedGroup); |
16774 } | 16774 } |
16775 } | 16775 } |
16776 | 16776 |
16777 } // namespace internal | 16777 } // namespace internal |
16778 } // namespace v8 | 16778 } // namespace v8 |
OLD | NEW |