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

Side by Side Diff: src/objects.cc

Issue 1380863004: Revert of Reland: Remove register index/code indirection (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 12234 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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