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

Side by Side Diff: runtime/vm/flow_graph_compiler_x64.cc

Issue 2685723004: Revert "Use CodeSourceMap for stack traces (still JIT only)." (Closed)
Patch Set: Created 3 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 | « runtime/vm/flow_graph_compiler_mips.cc ('k') | runtime/vm/intermediate_language_arm.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 (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64.
6 #if defined(TARGET_ARCH_X64) 6 #if defined(TARGET_ARCH_X64)
7 7
8 #include "vm/flow_graph_compiler.h" 8 #include "vm/flow_graph_compiler.h"
9 9
10 #include "vm/ast_printer.h" 10 #include "vm/ast_printer.h"
(...skipping 1261 matching lines...) Expand 10 before | Expand all | Expand 10 after
1272 1272
1273 __ Bind(&done); 1273 __ Bind(&done);
1274 RecordSafepoint(locs, slow_path_argument_count); 1274 RecordSafepoint(locs, slow_path_argument_count);
1275 const intptr_t deopt_id_after = Thread::ToDeoptAfter(deopt_id); 1275 const intptr_t deopt_id_after = Thread::ToDeoptAfter(deopt_id);
1276 if (FLAG_precompiled_mode) { 1276 if (FLAG_precompiled_mode) {
1277 // Megamorphic calls may occur in slow path stubs. 1277 // Megamorphic calls may occur in slow path stubs.
1278 // If valid use try_index argument. 1278 // If valid use try_index argument.
1279 if (try_index == CatchClauseNode::kInvalidTryIndex) { 1279 if (try_index == CatchClauseNode::kInvalidTryIndex) {
1280 try_index = CurrentTryIndex(); 1280 try_index = CurrentTryIndex();
1281 } 1281 }
1282 AddDescriptor(RawPcDescriptors::kOther, assembler()->CodeSize(), 1282 pc_descriptors_list()->AddDescriptor(
1283 Thread::kNoDeoptId, token_pos, try_index); 1283 RawPcDescriptors::kOther, assembler()->CodeSize(), Thread::kNoDeoptId,
1284 token_pos, try_index);
1284 } else if (is_optimizing()) { 1285 } else if (is_optimizing()) {
1285 AddCurrentDescriptor(RawPcDescriptors::kOther, Thread::kNoDeoptId, 1286 AddCurrentDescriptor(RawPcDescriptors::kOther, Thread::kNoDeoptId,
1286 token_pos); 1287 token_pos);
1287 AddDeoptIndexAtCall(deopt_id_after); 1288 AddDeoptIndexAtCall(deopt_id_after);
1288 } else { 1289 } else {
1289 AddCurrentDescriptor(RawPcDescriptors::kOther, Thread::kNoDeoptId, 1290 AddCurrentDescriptor(RawPcDescriptors::kOther, Thread::kNoDeoptId,
1290 token_pos); 1291 token_pos);
1291 // Add deoptimization continuation point after the call and before the 1292 // Add deoptimization continuation point after the call and before the
1292 // arguments are removed. 1293 // arguments are removed.
1293 AddCurrentDescriptor(RawPcDescriptors::kDeopt, deopt_id_after, token_pos); 1294 AddCurrentDescriptor(RawPcDescriptors::kDeopt, deopt_id_after, token_pos);
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
1772 __ movups(reg, Address(RSP, 0)); 1773 __ movups(reg, Address(RSP, 0));
1773 __ AddImmediate(RSP, Immediate(kFpuRegisterSize)); 1774 __ AddImmediate(RSP, Immediate(kFpuRegisterSize));
1774 } 1775 }
1775 1776
1776 1777
1777 #undef __ 1778 #undef __
1778 1779
1779 } // namespace dart 1780 } // namespace dart
1780 1781
1781 #endif // defined TARGET_ARCH_X64 1782 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_mips.cc ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698