Cosmetic: Add macros for NaN, undefined and Infinity to native js code.
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 17 Oct 2013 10:02:45 +0000 (10:02 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 17 Oct 2013 10:02:45 +0000 (10:02 +0000)
commit8ef4b0ca83452edf672666e7726e45fb3d3af999
tree62bae40c7dd125f859c1ae9dd95323b468c441ce
parentf8cc87a095aa78be42f6e1b9671b45b54c422d7f
Cosmetic: Add macros for NaN, undefined and Infinity to native js code.

Nobody should need to use $NaN, 0/0, 1/0 and void 0.

R=mvstanton@chromium.org
BUG=

Review URL: https://codereview.chromium.org/27491002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17252 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
18 files changed:
src/array-iterator.js
src/array.js
src/d8.js
src/date.js
src/debug-debugger.js
src/i18n.js
src/json.js
src/liveedit-debugger.js
src/macros.py
src/math.js
src/messages.js
src/mirror-debugger.js
src/object-observe.js
src/proxy.js
src/regexp.js
src/runtime.js
src/string.js
src/v8natives.js