diff options
Diffstat (limited to 'deps/v8/test/mjsunit/debug-liveedit-check-stack.js')
-rw-r--r-- | deps/v8/test/mjsunit/debug-liveedit-check-stack.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/test/mjsunit/debug-liveedit-check-stack.js b/deps/v8/test/mjsunit/debug-liveedit-check-stack.js index 6948a70d6b..d843ca6a60 100644 --- a/deps/v8/test/mjsunit/debug-liveedit-check-stack.js +++ b/deps/v8/test/mjsunit/debug-liveedit-check-stack.js @@ -25,7 +25,7 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// Flags: --expose-debug-as debug +// Flags: --expose-debug-as debug --allow-natives-syntax // Get the Debug object exposed from the debug context global object. Debug = debug.Debug @@ -87,13 +87,13 @@ function WrapInCatcher(f, holder) { function WrapInNativeCall(f) { return function() { - return Debug.ExecuteInDebugContext(f, true); + return %Call(undefined, f); }; } function WrapInDebuggerCall(f) { return function() { - return Debug.ExecuteInDebugContext(f, false); + return %ExecuteInDebugContext(f); }; } |