| Index: test/mjsunit/debug-evaluate-locals-optimized-double.js | 
| diff --git a/test/mjsunit/debug-evaluate-locals-optimized-double.js b/test/mjsunit/debug-evaluate-locals-optimized-double.js | 
| index 6696ec5ecd0651219fcff561ce9467c0ca860d86..84b7e20fe69cf2e3129ae2baa0f4d49b471d24ae 100644 | 
| --- a/test/mjsunit/debug-evaluate-locals-optimized-double.js | 
| +++ b/test/mjsunit/debug-evaluate-locals-optimized-double.js | 
| @@ -89,9 +89,10 @@ function listener(event, exec_state, event_data, data) { | 
| } | 
|  | 
| // All frames except the bottom one have two scopes. | 
| -          assertEquals(2, frame.scopeCount()); | 
| +          assertEquals(3, frame.scopeCount()); | 
| assertEquals(debug.ScopeType.Local, frame.scope(0).scopeType()); | 
| -          assertEquals(debug.ScopeType.Global, frame.scope(1).scopeType()); | 
| +          assertEquals(debug.ScopeType.Script, frame.scope(1).scopeType()); | 
| +          assertEquals(debug.ScopeType.Global, frame.scope(2).scopeType()); | 
|  | 
| Object.keys(expected_locals).forEach(function (name) { | 
| assertEquals(expected_locals[name], | 
| @@ -134,8 +135,9 @@ function listener(event, exec_state, event_data, data) { | 
| frame.evaluate(arguments_sum).value()); | 
| } else { | 
| // The bottom frame only have the global scope. | 
| -          assertEquals(1, frame.scopeCount()); | 
| -          assertEquals(debug.ScopeType.Global, frame.scope(0).scopeType()); | 
| +          assertEquals(2, frame.scopeCount()); | 
| +          assertEquals(debug.ScopeType.Script, frame.scope(0).scopeType()); | 
| +          assertEquals(debug.ScopeType.Global, frame.scope(1).scopeType()); | 
| } | 
|  | 
| // Check the frame function. | 
|  |