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

Side by Side Diff: src/crankshaft/x64/lithium-codegen-x64.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/s390/lithium-codegen-s390.cc ('k') | src/crankshaft/x87/lithium-codegen-x87.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 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 #if V8_TARGET_ARCH_X64 5 #if V8_TARGET_ARCH_X64
6 6
7 #include "src/crankshaft/x64/lithium-codegen-x64.h" 7 #include "src/crankshaft/x64/lithium-codegen-x64.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 728 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 739
740 if (info()->ShouldTrapOnDeopt()) { 740 if (info()->ShouldTrapOnDeopt()) {
741 Label done; 741 Label done;
742 if (cc != no_condition) { 742 if (cc != no_condition) {
743 __ j(NegateCondition(cc), &done, Label::kNear); 743 __ j(NegateCondition(cc), &done, Label::kNear);
744 } 744 }
745 __ int3(); 745 __ int3();
746 __ bind(&done); 746 __ bind(&done);
747 } 747 }
748 748
749 Deoptimizer::DeoptInfo deopt_info = MakeDeoptInfo(instr, deopt_reason); 749 Deoptimizer::DeoptInfo deopt_info = MakeDeoptInfo(instr, deopt_reason, id);
750 750
751 DCHECK(info()->IsStub() || frame_is_built_); 751 DCHECK(info()->IsStub() || frame_is_built_);
752 // Go through jump table if we need to handle condition, build frame, or 752 // Go through jump table if we need to handle condition, build frame, or
753 // restore caller doubles. 753 // restore caller doubles.
754 if (cc == no_condition && frame_is_built_ && 754 if (cc == no_condition && frame_is_built_ &&
755 !info()->saves_caller_doubles()) { 755 !info()->saves_caller_doubles()) {
756 DeoptComment(deopt_info); 756 DeoptComment(deopt_info);
757 __ call(entry, RelocInfo::RUNTIME_ENTRY); 757 __ call(entry, RelocInfo::RUNTIME_ENTRY);
758 } else { 758 } else {
759 Deoptimizer::JumpTableEntry table_entry(entry, deopt_info, bailout_type, 759 Deoptimizer::JumpTableEntry table_entry(entry, deopt_info, bailout_type,
(...skipping 4873 matching lines...) Expand 10 before | Expand all | Expand 10 after
5633 __ bind(deferred->exit()); 5633 __ bind(deferred->exit());
5634 __ bind(&done); 5634 __ bind(&done);
5635 } 5635 }
5636 5636
5637 #undef __ 5637 #undef __
5638 5638
5639 } // namespace internal 5639 } // namespace internal
5640 } // namespace v8 5640 } // namespace v8
5641 5641
5642 #endif // V8_TARGET_ARCH_X64 5642 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/crankshaft/s390/lithium-codegen-s390.cc ('k') | src/crankshaft/x87/lithium-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698