[V8] Allow a script to be flagged as "native"
authorAaron Kennedy <aaron.kennedy@nokia.com>
Fri, 9 Sep 2011 04:16:12 +0000 (14:16 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 13 Jun 2012 07:57:03 +0000 (09:57 +0200)
commitf7d784789656ab94077c29dcb7816a5cb945e049
treeaec4704daa64637fef546eb4d445abad824c1979
parent6c28d75933a9a56a311573593711a7e73eeab8c3
[V8] Allow a script to be flagged as "native"

Native scripts do not appear in backtraces, or in the source and
line number when exceptions are thrown from within them.  This is
useful to be able to write code in JavaScript instead of C++ and
still have it appear sensibly to the user.

Change-Id: I0a772f7bdde24257b0aa19216b932f6a546ab918
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
src/3rdparty/v8/include/v8.h
src/3rdparty/v8/src/compiler.cc