Go to file
kmillikin@chromium.org e82a07c0bd Simple toplevel code generator support for short-circuited boolean OR
in a non-test (ie, value or effect) context.  (It is implicitly not in
a test context because the code generator does not support expressions
in a test context yet.)

Compilation is essentially the same as in the optimized code
generator.  The expression (e0 || e1) is compiled as if it were
(let (temp = e0) temp ? temp : e1).

On ia32 and x64 a single shared ToBoolean stub is used to convert a
value to a flag.  The inlined checks assumed by the stub are reordered
to compare to undefined (the common case in toplevel code?) first.  On
ARM a call to the runtime is used.  In the interest of code size no
checks are yet inlined on ARM.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3118 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2009-10-23 10:42:14 +00:00
benchmarks Remove svn:executable flag from run.html and style.css and change the mime-type of style.css to text/css. 2009-07-15 10:37:10 +00:00
include Added infrastructure for optimizing new CanvasArray types in WebGL 2009-10-20 15:26:17 +00:00
samples Add a "read" extension to the shell programs. This global function 2009-04-17 21:04:34 +00:00
src Simple toplevel code generator support for short-circuited boolean OR 2009-10-23 10:42:14 +00:00
test Stop throwing exceptions for out-of-range accesses to CanvasArrays. 2009-10-23 09:19:17 +00:00
tools Fix bug that meant that dependent tests were never reported as 2009-10-22 19:09:09 +00:00
.gitignore X64: Fix bugs affecting Win64. 2009-10-13 10:56:13 +00:00
AUTHORS Land change by Jan de Mooij to change the toString behavior of 2009-09-17 11:11:01 +00:00
ChangeLog Preparing to push to trunk. Now working on 1.3.17. 2009-10-16 11:33:39 +00:00
LICENSE Get rid of duplicate LICENSE entry for the Valgrind 2009-09-27 09:33:11 +00:00
SConstruct X64: Fix bugs affecting Win64. 2009-10-13 10:56:13 +00:00