Implement Harmony semantics for typeof null (behind a flag).
authorrossberg@chromium.org <rossberg@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 10 Aug 2011 12:12:06 +0000 (12:12 +0000)
committerrossberg@chromium.org <rossberg@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 10 Aug 2011 12:12:06 +0000 (12:12 +0000)
commitbd1851497239e78c8f3cb3bc1c6dd0883d9d82db
tree3ae80b8e5c19de9a5f7132bdc30e4c49ce20867f
parentf14dfd7aa8d7d8b8e85b726361fcadac0ade8d80
Implement Harmony semantics for typeof null (behind a flag).

Harmony is intended to make typeof null === "null". This may
break existing programs. Implementing it will allow us to run
some tests on the actual web.

R=kmillikin@chromium.org
BUG=
TEST=

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8876 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/full-codegen-arm.cc
src/arm/lithium-codegen-arm.cc
src/flag-definitions.h
src/heap.h
src/ia32/full-codegen-ia32.cc
src/ia32/lithium-codegen-ia32.cc
src/runtime.cc
src/x64/full-codegen-x64.cc
src/x64/lithium-codegen-x64.cc
test/mjsunit/harmony/typeof.js [new file with mode: 0644]