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

Unified Diff: test/mjsunit/regress/regress-618608.js

Issue 2670823002: [debugger] remove mirror cache and v8::Debug::GetMirror. (Closed)
Patch Set: address comments. Created 3 years, 11 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 | « test/cctest/test-debug.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-618608.js
diff --git a/test/mjsunit/regress/regress-618608.js b/test/mjsunit/regress/regress-618608.js
index 02e2cdf3c2f9a58178c369d0857bee811d9f70cd..742cc6e32e65708fbdaf52b49af197f3619b101d 100644
--- a/test/mjsunit/regress/regress-618608.js
+++ b/test/mjsunit/regress/regress-618608.js
@@ -1238,7 +1238,6 @@ gc();
"use asm";
var __v_9 = new stdlib.Float32Array(heap);
var __v_13 = stdlib.Math.fround;
- assertEquals("number", debug.LookupMirror(__v_112).type());
function __f_73() {
var __v_23 = __v_13(1.0);
var __v_25 = __v_13(2.0);
@@ -1433,38 +1432,3 @@ gc();
assertEquals(0x87654321, __v_30.__f_50());
})();
} catch(e) { print("Caught: " + e); }
-try {
-var __v_112 = debug.MakeMirror(123).handle();
-assertEquals("number", debug.LookupMirror(__v_112).type());
-debug.ToggleMirrorCache(false);
-var __v_114 = debug.MakeMirror(123).handle();
-gc();
-assertEquals(undefined, __v_114);
-assertThrows(function() { debug.LookupMirror(__v_114) });
-debug.ToggleMirrorCache(true);
-var __v_113 = debug.MakeMirror(123).handle();
-assertEquals("number", debug.LookupMirror(__v_113).type());
-} catch(e) { print("Caught: " + e); }
-try {
-var Debug = debug.Debug;
-var __v_25 = null;
-var __v_113 = true;
-} catch(e) { print("Caught: " + e); }
-function __f_112(event, exec_state, event_data, data) {
- if (event != Debug.DebugEvent.Break) return;
- try {
- assertTrue(exec_state.frame(0).sourceLineText().indexOf("BREAK") > 0);
- } catch (e) {
- __v_0 = e;
- }
-}
-function __f_113() {
- return 1;
-}
-try {
-Debug.setListener(__f_112);
-nop();
-__f_113();
-Debug.setListener(null);
-assertNull(__v_112);
-} catch(e) { print("Caught: " + e); }
« no previous file with comments | « test/cctest/test-debug.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698