v8/test/unittests
oth 339e0c804e [Interpreter] Reduce temporary register usage in generated bytecode.
This change adds new flavors of Visit() methods for obtaining
expression results:

- VisitForAccumulatorValue() which places result in the accumulator.
- VisitForRegisterValue() which places the result in a register.
- VisitForEffect() which evaluates the expression and discards the result.

The targets of these calls place the expression result with
result_scope()->SetResultInRegister() or
result_scope()->SetResultInAccumulator().

By being smarter about result locations, there's less temporary
register usage. However, we now have a hazard with assignments
in binary expressions that didn't exist before. This change detects and
DCHECK's when a hazard is detected. A follow on CL will address this.

There are consequential changes to test-bytecode-generator.cc and
this change also adds new bytecode macros A(x, n) and THIS(n) for
register file entries for arguments and this.

BUG=v8:4280
LOG=NO

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

Cr-Commit-Position: refs/heads/master@{#31445}
2015-10-21 15:29:23 +00:00
..
base [turbofan] Use appropriate type for NodeId. 2015-06-12 12:03:19 +00:00
compiler [Turbofan] Re-enable single splinter. 2015-10-21 08:09:43 +00:00
heap [heap] Fix mark bits for partially compacted pages. 2015-10-08 13:49:30 +00:00
interpreter [Interpreter] Reduce temporary register usage in generated bytecode. 2015-10-21 15:29:23 +00:00
libplatform Fix memory-leak in default platform implementation of delayed tasks. 2015-07-02 14:37:32 +00:00
runtime [presubmit] Enable readability/namespace linter checking. 2015-09-30 13:47:11 +00:00
atomic-utils-unittest.cc Add barriers to atomic utils. 2015-09-15 14:58:54 +00:00
char-predicates-unittest.cc Conform to the unittest naming convention. 2014-10-10 08:06:21 +00:00
counters-unittest.cc Fix more -Werror=sign-compare bugs with GCC 4.9.2 2015-05-11 11:07:15 +00:00
DEPS Move unit tests to test/unittests. 2014-10-01 08:34:25 +00:00
run-all-unittests.cc Rework startup-data-util. 2015-08-14 12:11:46 +00:00
test-utils.cc Debugger: move implementation to a separate folder. 2015-07-31 11:08:15 +00:00
test-utils.h Pass ArrayBuffer::Allocator via Isolate::CreateParams 2015-04-29 09:54:43 +00:00
unittests.gyp [turbofan] Redundant branch elimination. 2015-10-17 17:50:26 +00:00
unittests.isolate Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
unittests.status Fix platform unittests. 2014-11-25 07:22:00 +00:00