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

Side by Side Diff: src/crankshaft/x87/lithium-codegen-x87.cc

Issue 1973993002: [compiler] Profiler reconstructs inlined frames for deopts. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix build. 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/crankshaft/x64/lithium-codegen-x64.cc ('k') | src/deoptimizer.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #if V8_TARGET_ARCH_X87 5 #if V8_TARGET_ARCH_X87
6 6
7 #include "src/crankshaft/x87/lithium-codegen-x87.h" 7 #include "src/crankshaft/x87/lithium-codegen-x87.h"
8 8
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/code-factory.h" 10 #include "src/code-factory.h"
(...skipping 996 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 __ bind(&done); 1007 __ bind(&done);
1008 } 1008 }
1009 1009
1010 if (info()->ShouldTrapOnDeopt()) { 1010 if (info()->ShouldTrapOnDeopt()) {
1011 Label done; 1011 Label done;
1012 if (cc != no_condition) __ j(NegateCondition(cc), &done, Label::kNear); 1012 if (cc != no_condition) __ j(NegateCondition(cc), &done, Label::kNear);
1013 __ int3(); 1013 __ int3();
1014 __ bind(&done); 1014 __ bind(&done);
1015 } 1015 }
1016 1016
1017 Deoptimizer::DeoptInfo deopt_info = MakeDeoptInfo(instr, deopt_reason); 1017 Deoptimizer::DeoptInfo deopt_info = MakeDeoptInfo(instr, deopt_reason, id);
1018 1018
1019 DCHECK(info()->IsStub() || frame_is_built_); 1019 DCHECK(info()->IsStub() || frame_is_built_);
1020 if (cc == no_condition && frame_is_built_) { 1020 if (cc == no_condition && frame_is_built_) {
1021 DeoptComment(deopt_info); 1021 DeoptComment(deopt_info);
1022 __ call(entry, RelocInfo::RUNTIME_ENTRY); 1022 __ call(entry, RelocInfo::RUNTIME_ENTRY);
1023 } else { 1023 } else {
1024 Deoptimizer::JumpTableEntry table_entry(entry, deopt_info, bailout_type, 1024 Deoptimizer::JumpTableEntry table_entry(entry, deopt_info, bailout_type,
1025 !frame_is_built_); 1025 !frame_is_built_);
1026 // We often have several deopts to the same entry, reuse the last 1026 // We often have several deopts to the same entry, reuse the last
1027 // jump entry if this is the case. 1027 // jump entry if this is the case.
(...skipping 4853 matching lines...) Expand 10 before | Expand all | Expand 10 after
5881 __ bind(deferred->exit()); 5881 __ bind(deferred->exit());
5882 __ bind(&done); 5882 __ bind(&done);
5883 } 5883 }
5884 5884
5885 #undef __ 5885 #undef __
5886 5886
5887 } // namespace internal 5887 } // namespace internal
5888 } // namespace v8 5888 } // namespace v8
5889 5889
5890 #endif // V8_TARGET_ARCH_X87 5890 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/crankshaft/x64/lithium-codegen-x64.cc ('k') | src/deoptimizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698