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

Side by Side Diff: src/crankshaft/s390/lithium-codegen-s390.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/ppc/lithium-codegen-ppc.cc ('k') | src/crankshaft/x64/lithium-codegen-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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // 2 //
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 5
6 #include "src/crankshaft/s390/lithium-codegen-s390.h" 6 #include "src/crankshaft/s390/lithium-codegen-s390.h"
7 7
8 #include "src/base/bits.h" 8 #include "src/base/bits.h"
9 #include "src/code-factory.h" 9 #include "src/code-factory.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 if (cond != al) { 737 if (cond != al) {
738 cond = ne; 738 cond = ne;
739 __ CmpP(scratch, Operand::Zero()); 739 __ CmpP(scratch, Operand::Zero());
740 } 740 }
741 } 741 }
742 742
743 if (info()->ShouldTrapOnDeopt()) { 743 if (info()->ShouldTrapOnDeopt()) {
744 __ stop("trap_on_deopt", cond, kDefaultStopCode, cr); 744 __ stop("trap_on_deopt", cond, kDefaultStopCode, cr);
745 } 745 }
746 746
747 Deoptimizer::DeoptInfo deopt_info = MakeDeoptInfo(instr, deopt_reason); 747 Deoptimizer::DeoptInfo deopt_info = MakeDeoptInfo(instr, deopt_reason, id);
748 748
749 DCHECK(info()->IsStub() || frame_is_built_); 749 DCHECK(info()->IsStub() || frame_is_built_);
750 // Go through jump table if we need to handle condition, build frame, or 750 // Go through jump table if we need to handle condition, build frame, or
751 // restore caller doubles. 751 // restore caller doubles.
752 if (cond == al && frame_is_built_ && !info()->saves_caller_doubles()) { 752 if (cond == al && frame_is_built_ && !info()->saves_caller_doubles()) {
753 __ Call(entry, RelocInfo::RUNTIME_ENTRY); 753 __ Call(entry, RelocInfo::RUNTIME_ENTRY);
754 } else { 754 } else {
755 Deoptimizer::JumpTableEntry table_entry(entry, deopt_info, bailout_type, 755 Deoptimizer::JumpTableEntry table_entry(entry, deopt_info, bailout_type,
756 !frame_is_built_); 756 !frame_is_built_);
757 // We often have several deopts to the same entry, reuse the last 757 // We often have several deopts to the same entry, reuse the last
(...skipping 4905 matching lines...) Expand 10 before | Expand all | Expand 10 after
5663 __ LoadP(result, 5663 __ LoadP(result,
5664 FieldMemOperand(scratch, FixedArray::kHeaderSize - kPointerSize)); 5664 FieldMemOperand(scratch, FixedArray::kHeaderSize - kPointerSize));
5665 __ bind(deferred->exit()); 5665 __ bind(deferred->exit());
5666 __ bind(&done); 5666 __ bind(&done);
5667 } 5667 }
5668 5668
5669 #undef __ 5669 #undef __
5670 5670
5671 } // namespace internal 5671 } // namespace internal
5672 } // namespace v8 5672 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/ppc/lithium-codegen-ppc.cc ('k') | src/crankshaft/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698