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

Side by Side Diff: src/objects.cc

Issue 1986353002: Revert of [Interpreter] Remove InterpreterExitTrampoline and replace with returning to the entry trampoline. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 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/builtins-mips64.cc ('k') | src/x64/builtins-x64.cc » ('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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 13632 matching lines...) Expand 10 before | Expand all | Expand 10 after
13643 std::ostream& os) { // NOLINT 13643 std::ostream& os) { // NOLINT
13644 os << "Deoptimization Output Data (deopt points = " << this->DeoptPoints() 13644 os << "Deoptimization Output Data (deopt points = " << this->DeoptPoints()
13645 << ")\n"; 13645 << ")\n";
13646 if (this->DeoptPoints() == 0) return; 13646 if (this->DeoptPoints() == 0) return;
13647 13647
13648 os << "ast id pc state\n"; 13648 os << "ast id pc state\n";
13649 for (int i = 0; i < this->DeoptPoints(); i++) { 13649 for (int i = 0; i < this->DeoptPoints(); i++) {
13650 int pc_and_state = this->PcAndState(i)->value(); 13650 int pc_and_state = this->PcAndState(i)->value();
13651 os << std::setw(6) << this->AstId(i).ToInt() << " " << std::setw(8) 13651 os << std::setw(6) << this->AstId(i).ToInt() << " " << std::setw(8)
13652 << FullCodeGenerator::PcField::decode(pc_and_state) << " " 13652 << FullCodeGenerator::PcField::decode(pc_and_state) << " "
13653 << Deoptimizer::BailoutStateToString( 13653 << FullCodeGenerator::State2String(
13654 FullCodeGenerator::BailoutStateField::decode(pc_and_state)) 13654 FullCodeGenerator::StateField::decode(pc_and_state)) << "\n";
13655 << "\n";
13656 } 13655 }
13657 } 13656 }
13658 13657
13659 13658
13660 void HandlerTable::HandlerTableRangePrint(std::ostream& os) { 13659 void HandlerTable::HandlerTableRangePrint(std::ostream& os) {
13661 os << " from to hdlr\n"; 13660 os << " from to hdlr\n";
13662 for (int i = 0; i < length(); i += kRangeEntrySize) { 13661 for (int i = 0; i < length(); i += kRangeEntrySize) {
13663 int pc_start = Smi::cast(get(i + kRangeStartIndex))->value(); 13662 int pc_start = Smi::cast(get(i + kRangeStartIndex))->value();
13664 int pc_end = Smi::cast(get(i + kRangeEndIndex))->value(); 13663 int pc_end = Smi::cast(get(i + kRangeEndIndex))->value();
13665 int handler_field = Smi::cast(get(i + kRangeHandlerIndex))->value(); 13664 int handler_field = Smi::cast(get(i + kRangeHandlerIndex))->value();
(...skipping 4628 matching lines...) Expand 10 before | Expand all | Expand 10 after
18294 if (cell->value() != *new_value) { 18293 if (cell->value() != *new_value) {
18295 cell->set_value(*new_value); 18294 cell->set_value(*new_value);
18296 Isolate* isolate = cell->GetIsolate(); 18295 Isolate* isolate = cell->GetIsolate();
18297 cell->dependent_code()->DeoptimizeDependentCodeGroup( 18296 cell->dependent_code()->DeoptimizeDependentCodeGroup(
18298 isolate, DependentCode::kPropertyCellChangedGroup); 18297 isolate, DependentCode::kPropertyCellChangedGroup);
18299 } 18298 }
18300 } 18299 }
18301 18300
18302 } // namespace internal 18301 } // namespace internal
18303 } // namespace v8 18302 } // namespace v8
OLDNEW
« no previous file with comments | « src/mips64/builtins-mips64.cc ('k') | src/x64/builtins-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698