[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, 1 Mar 2012 11:03:47 +0000 (12:03 +0100)
commit2737342fbe24b27b92c5088aa273c2681b3fc2e2
tree3deab688f69c83314c1ed50461d51d02864b0e26
parent721a248c287cf9534a1715496f8eaa7ed871feb4
[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: I93b7b9f0d93ff38204332be6544b1309082b2720
Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
src/3rdparty/v8/include/v8.h
src/3rdparty/v8/src/compiler.cc