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