Commit 03852da3 authored by ricow@chromium.org's avatar ricow@chromium.org

Remove extra debug line from Object.prototype.toString

Fixes mozilla failures
Review URL: http://codereview.chromium.org/6935020

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7787 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent e0eb1101
...@@ -1199,7 +1199,6 @@ function FunctionSourceString(func) { ...@@ -1199,7 +1199,6 @@ function FunctionSourceString(func) {
} }
var source = %FunctionGetSourceCode(func); var source = %FunctionGetSourceCode(func);
if (!IS_STRING(source)) return "NOT A string";
if (!IS_STRING(source) || %FunctionIsBuiltin(func)) { if (!IS_STRING(source) || %FunctionIsBuiltin(func)) {
var name = %FunctionGetName(func); var name = %FunctionGetName(func);
if (name) { if (name) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment