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

Unified Diff: runtime/vm/heap_test.cc

Issue 10704216: Fix type checking of void type. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 5 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_compiler_x64.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/heap_test.cc
===================================================================
--- runtime/vm/heap_test.cc (revision 9671)
+++ runtime/vm/heap_test.cc (working copy)
@@ -13,7 +13,7 @@
#if defined(TARGET_ARCH_IA32) || defined(TARGET_ARCH_X64)
TEST_CASE(OldGC) {
const char* kScriptChars =
- "void main() {\n"
+ "main() {\n"
" return [1, 2, 3];\n"
"}\n";
FLAG_verbose_gc = true;
@@ -33,7 +33,7 @@
TEST_CASE(LargeSweep) {
const char* kScriptChars =
- "void main() {\n"
+ "main() {\n"
" return new List(8 * 1024 * 1024);\n"
"}\n";
FLAG_verbose_gc = true;
« no previous file with comments | « runtime/vm/flow_graph_compiler_x64.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698