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

Side by Side Diff: src/crankshaft/ia32/lithium-codegen-ia32.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/hydrogen.cc ('k') | src/crankshaft/lithium-codegen.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_IA32 5 #if V8_TARGET_ARCH_IA32
6 6
7 #include "src/crankshaft/ia32/lithium-codegen-ia32.h" 7 #include "src/crankshaft/ia32/lithium-codegen-ia32.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 705 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 __ popfd(); 716 __ popfd();
717 } 717 }
718 718
719 if (info()->ShouldTrapOnDeopt()) { 719 if (info()->ShouldTrapOnDeopt()) {
720 Label done; 720 Label done;
721 if (cc != no_condition) __ j(NegateCondition(cc), &done, Label::kNear); 721 if (cc != no_condition) __ j(NegateCondition(cc), &done, Label::kNear);
722 __ int3(); 722 __ int3();
723 __ bind(&done); 723 __ bind(&done);
724 } 724 }
725 725
726 Deoptimizer::DeoptInfo deopt_info = MakeDeoptInfo(instr, deopt_reason); 726 Deoptimizer::DeoptInfo deopt_info = MakeDeoptInfo(instr, deopt_reason, id);
727 727
728 DCHECK(info()->IsStub() || frame_is_built_); 728 DCHECK(info()->IsStub() || frame_is_built_);
729 if (cc == no_condition && frame_is_built_) { 729 if (cc == no_condition && frame_is_built_) {
730 DeoptComment(deopt_info); 730 DeoptComment(deopt_info);
731 __ call(entry, RelocInfo::RUNTIME_ENTRY); 731 __ call(entry, RelocInfo::RUNTIME_ENTRY);
732 } else { 732 } else {
733 Deoptimizer::JumpTableEntry table_entry(entry, deopt_info, bailout_type, 733 Deoptimizer::JumpTableEntry table_entry(entry, deopt_info, bailout_type,
734 !frame_is_built_); 734 !frame_is_built_);
735 // We often have several deopts to the same entry, reuse the last 735 // We often have several deopts to the same entry, reuse the last
736 // jump entry if this is the case. 736 // jump entry if this is the case.
(...skipping 4591 matching lines...) Expand 10 before | Expand all | Expand 10 after
5328 __ bind(deferred->exit()); 5328 __ bind(deferred->exit());
5329 __ bind(&done); 5329 __ bind(&done);
5330 } 5330 }
5331 5331
5332 #undef __ 5332 #undef __
5333 5333
5334 } // namespace internal 5334 } // namespace internal
5335 } // namespace v8 5335 } // namespace v8
5336 5336
5337 #endif // V8_TARGET_ARCH_IA32 5337 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/crankshaft/hydrogen.cc ('k') | src/crankshaft/lithium-codegen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698