Revision: 3091 Author: [email protected] Date: Tue Oct 20 02:12:53 2009 Log: A simple change to enable empty top-level function bodies in the fast-mode compiler. Support was already present, but disabled.
Review URL: http://codereview.chromium.org/295004 http://code.google.com/p/v8/source/detail?r=3091 Modified: /branches/bleeding_edge/src/compiler.cc ======================================= --- /branches/bleeding_edge/src/compiler.cc Mon Oct 19 03:36:42 2009 +++ /branches/bleeding_edge/src/compiler.cc Tue Oct 20 02:12:53 2009 @@ -456,7 +456,6 @@ if (!scope->declarations()->is_empty()) return NORMAL; if (fun->materialized_literal_count() > 0) return NORMAL; - if (fun->body()->is_empty()) return NORMAL; has_supported_syntax_ = true; VisitStatements(fun->body()); --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
