Use NativesFlag to allow/disallow natives syntax during compilation.
authorvitalyr@chromium.org <vitalyr@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 15 Mar 2011 14:26:55 +0000 (14:26 +0000)
committervitalyr@chromium.org <vitalyr@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 15 Mar 2011 14:26:55 +0000 (14:26 +0000)
commit76b41134165cd6e7e6a6727923afb44e8f6af119
tree2ef6ab39bce569b255c9b7597bddc3d81afda30e
parente8ff3245830de6630aee2906861766ed0b8c3f9c
Use NativesFlag to allow/disallow natives syntax during compilation.

This way we can avoid changing the value of FLAG_allow_natives_syntax.

Review URL: http://codereview.chromium.org/6694024

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7177 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/compiler.cc
src/compiler.h
src/debug.cc
src/parser.cc