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

Side by Side Diff: src/objects.cc

Issue 1688023003: Remove the JS_FRAME_FUNCTION deoptimizer translation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/frames.cc ('k') | no next file » | 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 14824 matching lines...) Expand 10 before | Expand all | Expand 10 after
14835 int bytecode_offset = iterator.Next(); 14835 int bytecode_offset = iterator.Next();
14836 int shared_info_id = iterator.Next(); 14836 int shared_info_id = iterator.Next();
14837 unsigned height = iterator.Next(); 14837 unsigned height = iterator.Next();
14838 Object* shared_info = LiteralArray()->get(shared_info_id); 14838 Object* shared_info = LiteralArray()->get(shared_info_id);
14839 os << "{bytecode_offset=" << bytecode_offset << ", function=" 14839 os << "{bytecode_offset=" << bytecode_offset << ", function="
14840 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName()) 14840 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName())
14841 << ", height=" << height << "}"; 14841 << ", height=" << height << "}";
14842 break; 14842 break;
14843 } 14843 }
14844 14844
14845 case Translation::JS_FRAME_FUNCTION: {
14846 os << "{function}";
14847 break;
14848 }
14849
14850 case Translation::COMPILED_STUB_FRAME: { 14845 case Translation::COMPILED_STUB_FRAME: {
14851 Code::Kind stub_kind = static_cast<Code::Kind>(iterator.Next()); 14846 Code::Kind stub_kind = static_cast<Code::Kind>(iterator.Next());
14852 os << "{kind=" << stub_kind << "}"; 14847 os << "{kind=" << stub_kind << "}";
14853 break; 14848 break;
14854 } 14849 }
14855 14850
14856 case Translation::ARGUMENTS_ADAPTOR_FRAME: 14851 case Translation::ARGUMENTS_ADAPTOR_FRAME:
14857 case Translation::CONSTRUCT_STUB_FRAME: { 14852 case Translation::CONSTRUCT_STUB_FRAME: {
14858 int shared_info_id = iterator.Next(); 14853 int shared_info_id = iterator.Next();
14859 Object* shared_info = LiteralArray()->get(shared_info_id); 14854 Object* shared_info = LiteralArray()->get(shared_info_id);
(...skipping 5132 matching lines...) Expand 10 before | Expand all | Expand 10 after
19992 if (cell->value() != *new_value) { 19987 if (cell->value() != *new_value) {
19993 cell->set_value(*new_value); 19988 cell->set_value(*new_value);
19994 Isolate* isolate = cell->GetIsolate(); 19989 Isolate* isolate = cell->GetIsolate();
19995 cell->dependent_code()->DeoptimizeDependentCodeGroup( 19990 cell->dependent_code()->DeoptimizeDependentCodeGroup(
19996 isolate, DependentCode::kPropertyCellChangedGroup); 19991 isolate, DependentCode::kPropertyCellChangedGroup);
19997 } 19992 }
19998 } 19993 }
19999 19994
20000 } // namespace internal 19995 } // namespace internal
20001 } // namespace v8 19996 } // namespace v8
OLDNEW
« no previous file with comments | « src/frames.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698