Add a pretty printer to improve the error message non-function calls
authorverwaest <verwaest@chromium.org>
Wed, 21 Jan 2015 13:40:32 +0000 (05:40 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 21 Jan 2015 13:40:41 +0000 (13:40 +0000)
commitac2b1cea9718d35ffddac5e5a656e6669296e404
tree1e5b8be380ffe140e1e45b71edb4c24a6de7e970
parent89dff787e3c80d793f15a2ff9a5c65b3b2398c89
Add a pretty printer to improve the error message non-function calls

BUG=259443
LOG=y

Review URL: https://codereview.chromium.org/861623002

Cr-Commit-Position: refs/heads/master@{#26189}
13 files changed:
src/compiler.h
src/isolate.cc
src/messages.h
src/prettyprinter.cc
src/prettyprinter.h
src/runtime.js
src/runtime/runtime-internal.cc
src/runtime/runtime.h
test/cctest/test-api.cc
test/mozilla/mozilla.status
test/webkit/exception-for-nonobject-expected.txt
test/webkit/fast/js/toString-overrides-expected.txt
test/webkit/run-json-stringify-expected.txt