From: ricow@chromium.org Date: Thu, 5 May 2011 05:51:43 +0000 (+0000) Subject: Remove extra debug line from Object.prototype.toString X-Git-Tag: upstream/4.7.83~19493 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=03852da3b8fb92abc9b07479b53ce43e3377d5d5;p=platform%2Fupstream%2Fv8.git 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 --- diff --git a/src/v8natives.js b/src/v8natives.js index 24e678451..7a4be276d 100644 --- a/src/v8natives.js +++ b/src/v8natives.js @@ -1199,7 +1199,6 @@ function FunctionSourceString(func) { } var source = %FunctionGetSourceCode(func); - if (!IS_STRING(source)) return "NOT A string"; if (!IS_STRING(source) || %FunctionIsBuiltin(func)) { var name = %FunctionGetName(func); if (name) {