Merge V8 at branches/3.2 r8200: Initial merge by Git

Change-Id: I5c434306e98132997e9c5f6024b6ce200b255edf
diff --git a/test/mjsunit/debug-evaluate-with.js b/test/mjsunit/debug-evaluate-with.js
index c19a707..9d95a9f 100644
--- a/test/mjsunit/debug-evaluate-with.js
+++ b/test/mjsunit/debug-evaluate-with.js
@@ -42,13 +42,13 @@
         // Break point in first with block.
         assertEquals(2, exec_state.frame(0).evaluate('a').value());
         assertEquals(2, exec_state.frame(0).evaluate('b').value());
-      } else if (breakPointCount == 2) {
+      } else {
         // Break point in second with block.
         assertEquals(3, exec_state.frame(0).evaluate('a').value());
         assertEquals(1, exec_state.frame(0).evaluate('b').value());
-      } else if (breakPointCount == 3) {
-        // Break point in eval with block.
-        assertEquals('local', exec_state.frame(0).evaluate('foo').value());
+
+        // Indicate that all was processed.
+        listenerComplete = true;
       }
     }
   } catch (e) {
@@ -72,10 +72,6 @@
 };
 
 f();
-
-var foo = "global";
-eval("with({bar:'with'}) { (function g() { var foo = 'local'; debugger; })(); }");
-
 // Make sure that the debug event listener vas invoked.
-assertEquals(3, breakPointCount);
+assertTrue(listenerComplete);
 assertFalse(exception, "exception in listener")