v8/include
rossberg@chromium.org 1336b913d0 Make built-ins strict mode conforming, and support a --use-strict flag.
* Turned all uses of 'const' into 'var'.
* Turned all uses of local 'function' into 'var'.
* Added a couple of missing toplevel 'var' declarations.

One consequence is that the properties on the builtin object  are no longer
non-writable, and I had to adapt one test. Is that a problem?

Unfortunately, we cannot actually switch the library scripts to strict mode
by default, because that makes observable things like poisoned .caller properties
for library functions.

Also removed dead flag code in Compiler::Compile.

R=yangguo@chromium.org
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/9415010

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10758 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-02-20 13:48:24 +00:00
..
v8-debug.h API: Added Debug::DisableAgent to match existing Debug::EnableAgent 2011-09-21 11:34:05 +00:00
v8-preparser.h Strict mode detection in preparser. 2011-05-06 11:41:15 +00:00
v8-profiler.h I will apply it to the nodes that can't be mapped to Heap object or Native object. 2012-02-07 05:21:00 +00:00
v8-testing.h ARM: Port r7089 to ARM 2011-03-10 13:58:20 +00:00
v8.h Make built-ins strict mode conforming, and support a --use-strict flag. 2012-02-20 13:48:24 +00:00
v8stdint.h Include what you use in accessors.{h,cc}. 2012-01-25 00:16:07 +00:00