Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Side by Side Diff: src/objects.cc

Issue 1365073002: Revert of Remove register index/code indirection (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/mips64/macro-assembler-mips64.cc ('k') | src/register-configuration.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/mips64/macro-assembler-mips64.cc ('k') | src/register-configuration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698