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

Unified Diff: runtime/vm/report.cc

Issue 1852393004: Fix background compilation issues when creating snapshots. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: more Created 4 years, 8 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 | « runtime/vm/object.cc ('k') | runtime/vm/snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/report.cc
diff --git a/runtime/vm/report.cc b/runtime/vm/report.cc
index 21bbdc812b284305ba41f6c1a88087afa4d9bdaf..01b7a86822f0e7a308522dd8441ab59535944d55 100644
--- a/runtime/vm/report.cc
+++ b/runtime/vm/report.cc
@@ -118,7 +118,7 @@ void Report::LongJumpV(const Error& prev_error,
const char* format, va_list args) {
const Error& error = Error::Handle(LanguageError::NewFormattedV(
prev_error, script, token_pos, Report::AtLocation,
- kError, Heap::kNew,
+ kError, Heap::kOld,
format, args));
LongJump(error);
UNREACHABLE();
@@ -159,7 +159,7 @@ void Report::MessageV(Kind kind,
const Error& error = Error::Handle(
LanguageError::NewFormattedV(Error::Handle(), // No previous error.
script, token_pos, report_after_token,
- kind, Heap::kNew,
+ kind, Heap::kOld,
format, args));
LongJump(error);
UNREACHABLE();
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698