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

Unified Diff: runtime/vm/object.cc

Issue 1759913002: Make precompiler work with product mode. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 20d7b4a4f1791a82fdb27a665a8edf9cb50bcd44..2cb3c431118e05ad113eca46476a3975fe9f7e6f 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -21349,7 +21349,9 @@ const char* Stacktrace::ToCStringInternal(intptr_t* frame_index,
code = CodeAtFrame(i);
ASSERT(function.raw() == code.function());
uword pc = code.EntryPoint() + Smi::Value(PcOffsetAtFrame(i));
- if (code.is_optimized() && expand_inlined() && !FLAG_precompiled_mode) {
+ if (code.is_optimized() &&
+ expand_inlined() &&
+ !FLAG_precompiled_runtime) {
// Traverse inlined frames.
for (InlinedFunctionsIterator it(code, pc);
!it.Done() && (*frame_index < max_frames); it.Advance()) {

Powered by Google App Engine
This is Rietveld 408576698