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

Side by Side Diff: src/objects.cc

Issue 1287383003: Re-reland: Remove register index/code indirection (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Updated to ToT 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
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 <iomanip> 7 #include <iomanip>
8 #include <sstream> 8 #include <sstream>
9 9
10 #include "src/accessors.h" 10 #include "src/accessors.h"
(...skipping 11597 matching lines...) Expand 10 before | Expand all | Expand 10 after
11608 11608
11609 case Translation::BOOL_REGISTER: { 11609 case Translation::BOOL_REGISTER: {
11610 int reg_code = iterator.Next(); 11610 int reg_code = iterator.Next();
11611 os << "{input=" << converter.NameOfCPURegister(reg_code) 11611 os << "{input=" << converter.NameOfCPURegister(reg_code)
11612 << " (bool)}"; 11612 << " (bool)}";
11613 break; 11613 break;
11614 } 11614 }
11615 11615
11616 case Translation::DOUBLE_REGISTER: { 11616 case Translation::DOUBLE_REGISTER: {
11617 int reg_code = iterator.Next(); 11617 int reg_code = iterator.Next();
11618 os << "{input=" << DoubleRegister::AllocationIndexToString(reg_code) 11618 os << "{input=" << DoubleRegister::from_code(reg_code).ToString()
11619 << "}"; 11619 << "}";
11620 break; 11620 break;
11621 } 11621 }
11622 11622
11623 case Translation::STACK_SLOT: { 11623 case Translation::STACK_SLOT: {
11624 int input_slot_index = iterator.Next(); 11624 int input_slot_index = iterator.Next();
11625 os << "{input=" << input_slot_index << "}"; 11625 os << "{input=" << input_slot_index << "}";
11626 break; 11626 break;
11627 } 11627 }
11628 11628
(...skipping 4535 matching lines...) Expand 10 before | Expand all | Expand 10 after
16164 if (cell->value() != *new_value) { 16164 if (cell->value() != *new_value) {
16165 cell->set_value(*new_value); 16165 cell->set_value(*new_value);
16166 Isolate* isolate = cell->GetIsolate(); 16166 Isolate* isolate = cell->GetIsolate();
16167 cell->dependent_code()->DeoptimizeDependentCodeGroup( 16167 cell->dependent_code()->DeoptimizeDependentCodeGroup(
16168 isolate, DependentCode::kPropertyCellChangedGroup); 16168 isolate, DependentCode::kPropertyCellChangedGroup);
16169 } 16169 }
16170 } 16170 }
16171 16171
16172 } // namespace internal 16172 } // namespace internal
16173 } // namespace v8 16173 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698