Index: test/mjsunit/debug-function-scopes.js |
diff --git a/test/mjsunit/debug-function-scopes.js b/test/mjsunit/debug-function-scopes.js |
index f63d7b26c89dfdd86707a8196249df2fe6e7d67c..5509038184c59053802b66b913860bce958525f0 100644 |
--- a/test/mjsunit/debug-function-scopes.js |
+++ b/test/mjsunit/debug-function-scopes.js |
@@ -42,14 +42,7 @@ function CheckScope(scope_mirror, scope_expectations, expected_scope_type) { |
} |
} |
-// A copy of the scope types from debug/mirrors.js. |
-var ScopeType = { Global: 0, |
- Local: 1, |
- With: 2, |
- Closure: 3, |
- Catch: 4, |
- Block: 5, |
- Script: 6}; |
+var ScopeType = debug.ScopeType; |
var f1 = (function F1(x) { |
function F2(y) { |