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

Side by Side Diff: src/objects.cc

Issue 1768263004: [turbofan] [deoptimizer] Support inlining of ES6 tail calls. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressing comments, StandardFrameConstants -> CommonFrameConstants Created 4 years, 9 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/deoptimizer-mips64.cc ('k') | src/objects-printer.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 14659 matching lines...) Expand 10 before | Expand all | Expand 10 after
14670 case Translation::CONSTRUCT_STUB_FRAME: { 14670 case Translation::CONSTRUCT_STUB_FRAME: {
14671 int shared_info_id = iterator.Next(); 14671 int shared_info_id = iterator.Next();
14672 Object* shared_info = LiteralArray()->get(shared_info_id); 14672 Object* shared_info = LiteralArray()->get(shared_info_id);
14673 unsigned height = iterator.Next(); 14673 unsigned height = iterator.Next();
14674 os << "{function=" 14674 os << "{function="
14675 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName()) 14675 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName())
14676 << ", height=" << height << "}"; 14676 << ", height=" << height << "}";
14677 break; 14677 break;
14678 } 14678 }
14679 14679
14680 case Translation::TAIL_CALLER_FRAME: {
14681 int shared_info_id = iterator.Next();
14682 Object* shared_info = LiteralArray()->get(shared_info_id);
14683 os << "{function="
14684 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName())
14685 << "}";
14686 break;
14687 }
14688
14680 case Translation::GETTER_STUB_FRAME: 14689 case Translation::GETTER_STUB_FRAME:
14681 case Translation::SETTER_STUB_FRAME: { 14690 case Translation::SETTER_STUB_FRAME: {
14682 int shared_info_id = iterator.Next(); 14691 int shared_info_id = iterator.Next();
14683 Object* shared_info = LiteralArray()->get(shared_info_id); 14692 Object* shared_info = LiteralArray()->get(shared_info_id);
14684 os << "{function=" << Brief(SharedFunctionInfo::cast(shared_info) 14693 os << "{function=" << Brief(SharedFunctionInfo::cast(shared_info)
14685 ->DebugName()) << "}"; 14694 ->DebugName()) << "}";
14686 break; 14695 break;
14687 } 14696 }
14688 14697
14689 case Translation::REGISTER: { 14698 case Translation::REGISTER: {
(...skipping 5150 matching lines...) Expand 10 before | Expand all | Expand 10 after
19840 if (cell->value() != *new_value) { 19849 if (cell->value() != *new_value) {
19841 cell->set_value(*new_value); 19850 cell->set_value(*new_value);
19842 Isolate* isolate = cell->GetIsolate(); 19851 Isolate* isolate = cell->GetIsolate();
19843 cell->dependent_code()->DeoptimizeDependentCodeGroup( 19852 cell->dependent_code()->DeoptimizeDependentCodeGroup(
19844 isolate, DependentCode::kPropertyCellChangedGroup); 19853 isolate, DependentCode::kPropertyCellChangedGroup);
19845 } 19854 }
19846 } 19855 }
19847 19856
19848 } // namespace internal 19857 } // namespace internal
19849 } // namespace v8 19858 } // namespace v8
OLDNEW
« no previous file with comments | « src/mips64/deoptimizer-mips64.cc ('k') | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698