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

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

Issue 2686813006: Reapply "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.cc ('k') | runtime/vm/flow_graph_compiler_arm64.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_ARM. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM.
6 #if defined(TARGET_ARCH_ARM) 6 #if defined(TARGET_ARCH_ARM)
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 1264 matching lines...) Expand 10 before | Expand all | Expand 10 after
1275 1275
1276 __ Bind(&done); 1276 __ Bind(&done);
1277 RecordSafepoint(locs, slow_path_argument_count); 1277 RecordSafepoint(locs, slow_path_argument_count);
1278 const intptr_t deopt_id_after = Thread::ToDeoptAfter(deopt_id); 1278 const intptr_t deopt_id_after = Thread::ToDeoptAfter(deopt_id);
1279 if (FLAG_precompiled_mode) { 1279 if (FLAG_precompiled_mode) {
1280 // Megamorphic calls may occur in slow path stubs. 1280 // Megamorphic calls may occur in slow path stubs.
1281 // If valid use try_index argument. 1281 // If valid use try_index argument.
1282 if (try_index == CatchClauseNode::kInvalidTryIndex) { 1282 if (try_index == CatchClauseNode::kInvalidTryIndex) {
1283 try_index = CurrentTryIndex(); 1283 try_index = CurrentTryIndex();
1284 } 1284 }
1285 pc_descriptors_list()->AddDescriptor( 1285 AddDescriptor(RawPcDescriptors::kOther, assembler()->CodeSize(),
1286 RawPcDescriptors::kOther, assembler()->CodeSize(), Thread::kNoDeoptId, 1286 Thread::kNoDeoptId, token_pos, try_index);
1287 token_pos, try_index);
1288 } else if (is_optimizing()) { 1287 } else if (is_optimizing()) {
1289 AddCurrentDescriptor(RawPcDescriptors::kOther, Thread::kNoDeoptId, 1288 AddCurrentDescriptor(RawPcDescriptors::kOther, Thread::kNoDeoptId,
1290 token_pos); 1289 token_pos);
1291 AddDeoptIndexAtCall(deopt_id_after); 1290 AddDeoptIndexAtCall(deopt_id_after);
1292 } else { 1291 } else {
1293 AddCurrentDescriptor(RawPcDescriptors::kOther, Thread::kNoDeoptId, 1292 AddCurrentDescriptor(RawPcDescriptors::kOther, Thread::kNoDeoptId,
1294 token_pos); 1293 token_pos);
1295 // Add deoptimization continuation point after the call and before the 1294 // Add deoptimization continuation point after the call and before the
1296 // arguments are removed. 1295 // arguments are removed.
1297 AddCurrentDescriptor(RawPcDescriptors::kDeopt, deopt_id_after, token_pos); 1296 AddCurrentDescriptor(RawPcDescriptors::kDeopt, deopt_id_after, token_pos);
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
1907 DRegister dreg = EvenDRegisterOf(reg); 1906 DRegister dreg = EvenDRegisterOf(reg);
1908 __ vldrd(dreg, Address(SP, kDoubleSize, Address::PostIndex)); 1907 __ vldrd(dreg, Address(SP, kDoubleSize, Address::PostIndex));
1909 } 1908 }
1910 1909
1911 1910
1912 #undef __ 1911 #undef __
1913 1912
1914 } // namespace dart 1913 } // namespace dart
1915 1914
1916 #endif // defined TARGET_ARCH_ARM 1915 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler.cc ('k') | runtime/vm/flow_graph_compiler_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698