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

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

Issue 2683033007: Revert "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 AddDescriptor(RawPcDescriptors::kOther, assembler()->CodeSize(), 1290 pc_descriptors_list()->AddDescriptor(
1291 Thread::kNoDeoptId, token_pos, try_index); 1291 RawPcDescriptors::kOther, assembler()->CodeSize(), Thread::kNoDeoptId,
1292 token_pos, try_index);
1292 } else if (is_optimizing()) { 1293 } else if (is_optimizing()) {
1293 AddCurrentDescriptor(RawPcDescriptors::kOther, Thread::kNoDeoptId, 1294 AddCurrentDescriptor(RawPcDescriptors::kOther, Thread::kNoDeoptId,
1294 token_pos); 1295 token_pos);
1295 AddDeoptIndexAtCall(deopt_id_after); 1296 AddDeoptIndexAtCall(deopt_id_after);
1296 } else { 1297 } else {
1297 AddCurrentDescriptor(RawPcDescriptors::kOther, Thread::kNoDeoptId, 1298 AddCurrentDescriptor(RawPcDescriptors::kOther, Thread::kNoDeoptId,
1298 token_pos); 1299 token_pos);
1299 // Add deoptimization continuation point after the call and before the 1300 // Add deoptimization continuation point after the call and before the
1300 // arguments are removed. 1301 // arguments are removed.
1301 AddCurrentDescriptor(RawPcDescriptors::kDeopt, deopt_id_after, token_pos); 1302 AddCurrentDescriptor(RawPcDescriptors::kDeopt, deopt_id_after, token_pos);
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
1869 __ AddImmediate(SP, kDoubleSize); 1870 __ AddImmediate(SP, kDoubleSize);
1870 } 1871 }
1871 1872
1872 1873
1873 #undef __ 1874 #undef __
1874 1875
1875 1876
1876 } // namespace dart 1877 } // namespace dart
1877 1878
1878 #endif // defined TARGET_ARCH_MIPS 1879 #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