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

Side by Side Diff: runtime/vm/flow_graph_compiler_mips.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_arm64.cc ('k') | runtime/vm/flow_graph_compiler_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 (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_MIPS. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_MIPS.
6 #if defined(TARGET_ARCH_MIPS) 6 #if defined(TARGET_ARCH_MIPS)
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 1269 matching lines...) Expand 10 before | Expand all | Expand 10 after
1280 1280
1281 __ Bind(&done); 1281 __ Bind(&done);
1282 RecordSafepoint(locs, slow_path_argument_count); 1282 RecordSafepoint(locs, slow_path_argument_count);
1283 const intptr_t deopt_id_after = Thread::ToDeoptAfter(deopt_id); 1283 const intptr_t deopt_id_after = Thread::ToDeoptAfter(deopt_id);
1284 if (FLAG_precompiled_mode) { 1284 if (FLAG_precompiled_mode) {
1285 // Megamorphic calls may occur in slow path stubs. 1285 // Megamorphic calls may occur in slow path stubs.
1286 // If valid use try_index argument. 1286 // If valid use try_index argument.
1287 if (try_index == CatchClauseNode::kInvalidTryIndex) { 1287 if (try_index == CatchClauseNode::kInvalidTryIndex) {
1288 try_index = CurrentTryIndex(); 1288 try_index = CurrentTryIndex();
1289 } 1289 }
1290 pc_descriptors_list()->AddDescriptor( 1290 AddDescriptor(RawPcDescriptors::kOther, assembler()->CodeSize(),
1291 RawPcDescriptors::kOther, assembler()->CodeSize(), Thread::kNoDeoptId, 1291 Thread::kNoDeoptId, token_pos, try_index);
1292 token_pos, try_index);
1293 } else if (is_optimizing()) { 1292 } else if (is_optimizing()) {
1294 AddCurrentDescriptor(RawPcDescriptors::kOther, Thread::kNoDeoptId, 1293 AddCurrentDescriptor(RawPcDescriptors::kOther, Thread::kNoDeoptId,
1295 token_pos); 1294 token_pos);
1296 AddDeoptIndexAtCall(deopt_id_after); 1295 AddDeoptIndexAtCall(deopt_id_after);
1297 } else { 1296 } else {
1298 AddCurrentDescriptor(RawPcDescriptors::kOther, Thread::kNoDeoptId, 1297 AddCurrentDescriptor(RawPcDescriptors::kOther, Thread::kNoDeoptId,
1299 token_pos); 1298 token_pos);
1300 // Add deoptimization continuation point after the call and before the 1299 // Add deoptimization continuation point after the call and before the
1301 // arguments are removed. 1300 // arguments are removed.
1302 AddCurrentDescriptor(RawPcDescriptors::kDeopt, deopt_id_after, token_pos); 1301 AddCurrentDescriptor(RawPcDescriptors::kDeopt, deopt_id_after, token_pos);
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
1870 __ AddImmediate(SP, kDoubleSize); 1869 __ AddImmediate(SP, kDoubleSize);
1871 } 1870 }
1872 1871
1873 1872
1874 #undef __ 1873 #undef __
1875 1874
1876 1875
1877 } // namespace dart 1876 } // namespace dart
1878 1877
1879 #endif // defined TARGET_ARCH_MIPS 1878 #endif // defined TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm64.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698