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

Unified Diff: runtime/vm/parser.cc

Issue 108513016: Adds missing calls to reset long_jump_base. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 12 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/flow_graph_inliner.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/parser.cc
===================================================================
--- runtime/vm/parser.cc (revision 31413)
+++ runtime/vm/parser.cc (working copy)
@@ -743,6 +743,7 @@
*(param[i].default_value));
const Object* metadata = param[i].metadata;
if ((metadata != NULL) && (*metadata).IsError()) {
+ isolate->set_long_jump_base(base);
return (*metadata).raw(); // Error evaluating the metadata.
hausner 2014/01/02 18:54:23 Not your code, but (*p).xxx is normally written as
zra 2014/01/02 19:14:02 Done.
}
param_descriptor.SetAt(j + kParameterMetadataOffset,
@@ -864,6 +865,7 @@
Parser parser(script, lib, token_pos);
parser.set_current_class(cls);
parser.set_parsing_metadata(true);
+ isolate->set_long_jump_base(base);
hausner 2014/01/02 18:54:23 I think this should happen after the call to Evalu
zra 2014/01/02 19:14:02 Done.
return parser.EvaluateMetadata();
} else {
Error& error = Error::Handle();
« no previous file with comments | « runtime/vm/flow_graph_inliner.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698