summaryrefslogtreecommitdiff
path: root/deps/v8/test/debugger/debug/es6/generators-relocation.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/debugger/debug/es6/generators-relocation.js')
-rw-r--r--deps/v8/test/debugger/debug/es6/generators-relocation.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/v8/test/debugger/debug/es6/generators-relocation.js b/deps/v8/test/debugger/debug/es6/generators-relocation.js
index 78413fde6e..13ebb01d0f 100644
--- a/deps/v8/test/debugger/debug/es6/generators-relocation.js
+++ b/deps/v8/test/debugger/debug/es6/generators-relocation.js
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// Flags: --expose-gc
var Debug = debug.Debug;
@@ -28,6 +29,8 @@ function RunTest(formals_and_body, args, value1, value2) {
// function and relocation of the suspended generator activation.
Debug.setListener(listener);
+ gc();
+
// Add a breakpoint on line 3 (the second yield).
var bp = Debug.setBreakPoint(gen, 3);