Reviewers: , Description: Move the default return handling to please some versions of gcc.
[email protected] Please review this at http://codereview.chromium.org/125043 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/runtime.cc Index: src/runtime.cc =================================================================== --- src/runtime.cc (revision 2149) +++ src/runtime.cc (working copy) @@ -6336,10 +6336,9 @@ // Materialize the content of the closure scope into a JSObject. return MaterializeClosure(CurrentContext()); break; - default: - UNREACHABLE(); - return Handle<JSObject>(); } + UNREACHABLE(); + return Handle<JSObject>(); } // Return the context for this scope. For the local context there might not --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
