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

Unified Diff: runtime/vm/object.cc

Issue 2686343002: Fix inconsistent use of CodeSourceMap for stack traces. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 1588b917c6f3e2e7f8686b1a883999a46b86093f..62b9d21d152631168232a70ef5d7ca7a35fc15e1 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -22422,7 +22422,7 @@ const char* StackTrace::ToCStringInternal(const StackTrace& stack_trace_in,
ASSERT(code.IsFunctionCode());
intptr_t pc_offset = Smi::Value(stack_trace.PcOffsetAtFrame(i));
if (code.is_optimized() && stack_trace.expand_inlined() &&
- !FLAG_precompiled_runtime) {
+ !FLAG_precompiled_mode) {
code.GetInlinedFunctionsAtReturnAddress(pc_offset, &inlined_functions,
&inlined_token_positions);
ASSERT(inlined_functions.length() >= 1);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698