Index: src/messages.js |
diff --git a/src/messages.js b/src/messages.js |
index 6c50b1badc418dd315b0097e523e7dce95b07203..5f01dc936e4f02ea6cfff93954d6f3238ed6dea7 100644 |
--- a/src/messages.js |
+++ b/src/messages.js |
@@ -957,12 +957,12 @@ function CallSiteToString() { |
var methodName = this.getMethodName(); |
if (functionName) { |
if (typeName && |
- %_CallFunction(functionName, typeName, StringIndexOf) != 0) { |
+ %_CallFunction(functionName, typeName, StringIndexOfJS) != 0) { |
line += typeName + "."; |
} |
line += functionName; |
if (methodName && |
- (%_CallFunction(functionName, "." + methodName, StringIndexOf) != |
+ (%_CallFunction(functionName, "." + methodName, StringIndexOfJS) != |
functionName.length - methodName.length - 1)) { |
line += " [as " + methodName + "]"; |
} |