Index: src/debug/debug.js |
diff --git a/src/debug/debug.js b/src/debug/debug.js |
index beefb971622fd49392a6889061261d72d4df3d5e..7c38b7e6dd77bf4bfd303a15b5691479d28f2224 100644 |
--- a/src/debug/debug.js |
+++ b/src/debug/debug.js |
@@ -435,7 +435,7 @@ |
Debug.findScript = function(func_or_script_name) { |
if (IS_FUNCTION(func_or_script_name)) { |
return %FunctionGetScript(func_or_script_name); |
- } else if (%IsRegExp(func_or_script_name)) { |
+ } else if (IS_REGEXP(func_or_script_name)) { |
var scripts = this.scripts(); |
var last_result = null; |
var result_count = 0; |