| Index: test/mjsunit/debug-constructor.js
|
| diff --git a/test/mjsunit/debug-constructor.js b/test/mjsunit/debug-constructor.js
|
| index 38028aa8c19081fe1a5a5562d3ea1272df28a7a4..cffd58fd78e4961b361e2d3ec29648f86f24a598 100644
|
| --- a/test/mjsunit/debug-constructor.js
|
| +++ b/test/mjsunit/debug-constructor.js
|
| @@ -27,17 +27,16 @@
|
|
|
| // Flags: --expose-debug-as debug
|
| // Get the Debug object exposed from the debug context global object.
|
| -Debug = debug.Debug
|
| +Debug = debug.Debug;
|
|
|
| // Simple function which collects a simple call graph.
|
| var call_graph = "";
|
| function listener(event, exec_state, event_data, data) {
|
| - if (event == Debug.DebugEvent.Break)
|
| - {
|
| + if (event == Debug.DebugEvent.Break) {
|
| call_graph += exec_state.frame().func().name();
|
| exec_state.prepareStep();
|
| }
|
| -};
|
| +}
|
|
|
| // Add the debug event listener.
|
| Debug.setListener(listener);
|
|
|