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 12234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12245 | 12245 |
12246 case Translation::BOOL_REGISTER: { | 12246 case Translation::BOOL_REGISTER: { |
12247 int reg_code = iterator.Next(); | 12247 int reg_code = iterator.Next(); |
12248 os << "{input=" << converter.NameOfCPURegister(reg_code) | 12248 os << "{input=" << converter.NameOfCPURegister(reg_code) |
12249 << " (bool)}"; | 12249 << " (bool)}"; |
12250 break; | 12250 break; |
12251 } | 12251 } |
12252 | 12252 |
12253 case Translation::DOUBLE_REGISTER: { | 12253 case Translation::DOUBLE_REGISTER: { |
12254 int reg_code = iterator.Next(); | 12254 int reg_code = iterator.Next(); |
12255 os << "{input=" << DoubleRegister::from_code(reg_code).ToString() | 12255 os << "{input=" << DoubleRegister::AllocationIndexToString(reg_code) |
12256 << "}"; | 12256 << "}"; |
12257 break; | 12257 break; |
12258 } | 12258 } |
12259 | 12259 |
12260 case Translation::STACK_SLOT: { | 12260 case Translation::STACK_SLOT: { |
12261 int input_slot_index = iterator.Next(); | 12261 int input_slot_index = iterator.Next(); |
12262 os << "{input=" << input_slot_index << "}"; | 12262 os << "{input=" << input_slot_index << "}"; |
12263 break; | 12263 break; |
12264 } | 12264 } |
12265 | 12265 |
(...skipping 4602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16868 if (cell->value() != *new_value) { | 16868 if (cell->value() != *new_value) { |
16869 cell->set_value(*new_value); | 16869 cell->set_value(*new_value); |
16870 Isolate* isolate = cell->GetIsolate(); | 16870 Isolate* isolate = cell->GetIsolate(); |
16871 cell->dependent_code()->DeoptimizeDependentCodeGroup( | 16871 cell->dependent_code()->DeoptimizeDependentCodeGroup( |
16872 isolate, DependentCode::kPropertyCellChangedGroup); | 16872 isolate, DependentCode::kPropertyCellChangedGroup); |
16873 } | 16873 } |
16874 } | 16874 } |
16875 | 16875 |
16876 } // namespace internal | 16876 } // namespace internal |
16877 } // namespace v8 | 16877 } // namespace v8 |
OLD | NEW |