[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>
Thu, 26 Apr 2012 06:56:39 +0000 (08:56 +0200)
commit716e69f69e19ae5ade3c5f35b95e770be204635d
tree291e2f7dbb90badb23e3a57550e1b2c327539f4b
parente9eec54513cc7cf8850f5832565075c2c9339cee
[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: I324ad60d8712c0afba7f0e4f26ce5ab931ae91dd
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
src/3rdparty/v8/include/v8.h
src/3rdparty/v8/src/compiler.cc