From 63dced133140c3148d188ed940c6d20e68957ce3 Mon Sep 17 00:00:00 2001 From: "sgjesse@chromium.org" Date: Fri, 12 Jun 2009 10:25:05 +0000 Subject: [PATCH] Move the default return handling to please some versions of gcc. TBR=ager@chromium.org Review URL: http://codereview.chromium.org/125043 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2150 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/runtime.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/runtime.cc b/src/runtime.cc index 654ba4c9e..6e9e1758f 100644 --- a/src/runtime.cc +++ b/src/runtime.cc @@ -6336,10 +6336,9 @@ class ScopeIterator { // Materialize the content of the closure scope into a JSObject. return MaterializeClosure(CurrentContext()); break; - default: - UNREACHABLE(); - return Handle(); } + UNREACHABLE(); + return Handle(); } // Return the context for this scope. For the local context there might not -- 2.34.1