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

Unified Diff: runtime/vm/object.cc

Issue 10824201: Verify at method exit that stack size is the same as at entry, except for methods with finally clau… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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
===================================================================
--- runtime/vm/object.cc (revision 10341)
+++ runtime/vm/object.cc (working copy)
@@ -3792,6 +3792,11 @@
}
+void Function::set_has_finally(bool value) const {
+ raw()->SetHasFinally(value);
+}
+
+
void Function::set_is_native(bool value) const {
raw()->SetIsNative(value);
}
@@ -4149,6 +4154,7 @@
result.set_usage_counter(0);
result.set_deoptimization_counter(0);
result.set_is_optimizable(true);
+ result.set_has_finally(false);
result.set_is_native(false);
result.set_is_abstract(is_abstract);
return result.raw();
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/parser.cc » ('j') | runtime/vm/raw_object.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698