v8/test/cctest
oth a1ba971cd8 [Interpreter] Enable assignments in expressions.
This change introduces register re-mapping to avoid assignment hazards
in binary expressions. Expressions that cause problems typically have
the form y = x + (x = 4);. The problem occurs because the lhs value
evaluates to the register holding x. The rhs updates that register and
then applying the operation would use the new value as the lhs.

By tracking loads and stores in binary expressions the generator is now
able to detect when condition occurs and uses a temporary register for
the rhs value. When the binary expression evaluation is complete the
variable is updated with the latest temporary.

A new bytecode Mov performs this update without touching the
accumulator.

BUG=v8:4280
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#32141}
2015-11-20 11:17:54 +00:00
..
compiler [turbofan] Renamed the ChangeFloat64ToInt64 operator to TruncateFloat64ToInt64. 2015-11-20 09:47:31 +00:00
interpreter [Interpreter] Enable assignments in expressions. 2015-11-20 11:17:54 +00:00
cctest.cc Remove deprecated functions the smaller half of the remaing tests 2015-11-17 12:42:44 +00:00
cctest.gyp Revert changes introduced in http://crrev.com/1367953002. 2015-11-10 21:00:18 +00:00
cctest.h Do not use deprecated API in cctest/test-debug. 2015-11-19 13:46:16 +00:00
cctest.isolate Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
cctest.status Skip test-heap/TestSizeOfRegExpCode on mips64. 2015-11-16 14:36:32 +00:00
DEPS
expression-type-collector-macros.h Refactor type collector testing macros. 2015-08-31 19:17:09 +00:00
expression-type-collector.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
expression-type-collector.h Remove unused Zone argument from InitializeAstVisitor 2015-10-15 10:34:28 +00:00
gay-fixed.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
gay-fixed.h [presubmit] Enable readability/namespace linter checking. 2015-09-30 13:47:11 +00:00
gay-precision.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
gay-precision.h [presubmit] Enable readability/namespace linter checking. 2015-09-30 13:47:11 +00:00
gay-shortest.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
gay-shortest.h [presubmit] Enable readability/namespace linter checking. 2015-09-30 13:47:11 +00:00
heap-tester.h Add the rate of js invocations from the api as a signal of idleness 2015-10-29 14:00:04 +00:00
log-eq-of-logging-and-traversal.js
OWNERS Add per-file OWNERS for x87-specific cctests. 2015-08-14 16:02:32 +00:00
print-extension.cc Remove deprecated functions the smaller half of the remaing tests 2015-11-17 12:42:44 +00:00
print-extension.h Remove deprecated functions the smaller half of the remaing tests 2015-11-17 12:42:44 +00:00
profiler-extension.cc Remove deprecated functions the smaller half of the remaing tests 2015-11-17 12:42:44 +00:00
profiler-extension.h Continuing removing deprecated function from cctest 2015-10-08 09:48:20 +00:00
test-accessors.cc Mark GetCallingContext as soon-to-be deprecated 2015-11-02 19:23:13 +00:00
test-alloc.cc [test] Move away from deprecated API for heap-related tests. 2015-11-09 19:48:44 +00:00
test-api-accessors.cc Allow JavaScript accessors on API objects. 2015-09-29 11:16:14 +00:00
test-api-interceptors.cc Map v8::Object to v8::internal::JSReceiver 2015-11-16 16:48:54 +00:00
test-api.cc [V8] Unify get function name for debugging purpose 2015-11-19 19:32:38 +00:00
test-api.h Move heap and CPU profilers into a dedicated directory. 2015-09-28 19:34:18 +00:00
test-array-list.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-asm-validator.cc Fix multiple return statements in typing-asm, cleanup. 2015-11-18 19:48:00 +00:00
test-assembler-arm64.cc Remove usage of deprecated APIs from assembler tests 2015-11-20 09:30:22 +00:00
test-assembler-arm.cc Remove usage of deprecated APIs from assembler tests 2015-11-20 09:30:22 +00:00
test-assembler-ia32.cc Remove usage of deprecated APIs from assembler tests 2015-11-20 09:30:22 +00:00
test-assembler-mips64.cc Remove usage of deprecated APIs from assembler tests 2015-11-20 09:30:22 +00:00
test-assembler-mips.cc Remove usage of deprecated APIs from assembler tests 2015-11-20 09:30:22 +00:00
test-assembler-ppc.cc Remove usage of deprecated APIs from assembler tests 2015-11-20 09:30:22 +00:00
test-assembler-x64.cc Remove usage of deprecated APIs from assembler tests 2015-11-20 09:30:22 +00:00
test-assembler-x87.cc Remove deprecated functions the smaller half of the remaing tests 2015-11-17 12:42:44 +00:00
test-ast-expression-visitor.cc Use asm style type names and improve asm typer. 2015-11-17 19:42:30 +00:00
test-ast.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-atomicops.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-bignum-dtoa.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-bignum.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-bit-vector.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-circular-queue.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-code-stubs-arm64.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-code-stubs-arm.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-code-stubs-ia32.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-code-stubs-mips64.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-code-stubs-mips.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-code-stubs-x64.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-code-stubs-x87.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-code-stubs.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-code-stubs.h
test-compiler.cc Map v8::Function to JSReceiver + IsCallable 2015-10-23 12:27:06 +00:00
test-constantpool.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-conversions.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-cpu-profiler.cc Map v8::Function to JSReceiver + IsCallable 2015-10-23 12:27:06 +00:00
test-date.cc Start removing deprecated APIs from cctest 2015-09-07 14:44:56 +00:00
test-debug.cc Do not use deprecated API in cctest/test-debug. 2015-11-19 13:46:16 +00:00
test-decls.cc Minor performance improvements to the LookupIterator 2015-07-01 12:20:10 +00:00
test-deoptimization.cc Map v8::Function to JSReceiver + IsCallable 2015-10-23 12:27:06 +00:00
test-dictionary.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-disasm-arm64.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-disasm-arm.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-disasm-ia32.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-disasm-mips64.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-disasm-mips.cc MIPS: Fix disassembler test failures. 2015-11-20 09:43:37 +00:00
test-disasm-ppc.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-disasm-x64.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-disasm-x87.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-diy-fp.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-double.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-dtoa.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-elements-kind.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-experimental-extra.js Add experimental, non-snapshotted V8 extras 2015-08-20 00:01:14 +00:00
test-extra.js Add methods to extras' InternalPackedArray 2015-10-14 17:40:54 +00:00
test-fast-dtoa.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-feedback-vector.cc VectorICs: Remove --vector-stores flag. 2015-11-17 13:15:52 +00:00
test-feedback-vector.h The metadata part of TypeFeedbackVector is extracted to TypeFeedbackMetadata array. 2015-10-07 10:33:32 +00:00
test-field-type-tracking.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-fixed-dtoa.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-flags.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-func-name-inference.cc Remove deprecated functions the smaller half of the remaing tests 2015-11-17 12:42:44 +00:00
test-fuzz-arm64.cc Remove deprecated functions the smaller half of the remaing tests 2015-11-17 12:42:44 +00:00
test-gc-tracer.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-global-handles.cc Remove deprecated functions the smaller half of the remaing tests 2015-11-17 12:42:44 +00:00
test-global-object.cc Remove deprecated functions the smaller half of the remaing tests 2015-11-17 12:42:44 +00:00
test-hashing.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-hashmap.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-heap-profiler.cc Map v8::Object to v8::internal::JSReceiver 2015-11-16 16:48:54 +00:00
test-heap.cc [turbofan] Move JSCallFunction specialization to JSCallReducer. 2015-11-17 07:15:25 +00:00
test-hydrogen-types.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-identity-map.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-incremental-marking.cc [test] Move away from deprecated API for heap-related tests. 2015-11-09 19:48:44 +00:00
test-javascript-arm64.cc Remove deprecated functions the smaller half of the remaing tests 2015-11-17 12:42:44 +00:00
test-js-arm64-variables.cc Remove deprecated functions the smaller half of the remaing tests 2015-11-17 12:42:44 +00:00
test-list.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-liveedit.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-lockers.cc Remove deprecated APIs from two more tests 2015-11-18 08:22:30 +00:00
test-log-stack-tracer.cc Remove deprecated functions the smaller half of the remaing tests 2015-11-17 12:42:44 +00:00
test-log.cc Remove deprecated APIs from two more tests 2015-11-18 08:22:30 +00:00
test-macro-assembler-arm.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-macro-assembler-ia32.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-macro-assembler-mips64.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-macro-assembler-mips.cc Remove deprecated functions the smaller half of the remaing tests 2015-11-17 12:42:44 +00:00
test-macro-assembler-x64.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-macro-assembler-x87.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-mark-compact.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-mementos.cc Mark cctests that don't use deprecated APIs as such 2015-11-16 16:45:31 +00:00
test-microtask-delivery.cc Remove deprecated functions the smaller half of the remaing tests 2015-11-17 12:42:44 +00:00
test-object-observe.cc Remove JSBuiltinsObject. 2015-11-02 13:04:34 +00:00
test-parsing.cc Rename destructuring flag to "--harmony-destructuring-bind" 2015-11-18 23:30:09 +00:00
test-platform-linux.cc Continuing removing deprecated function from cctest 2015-10-08 09:48:20 +00:00
test-platform-win32.cc Continuing removing deprecated function from cctest 2015-10-08 09:48:20 +00:00
test-platform.cc Continuing removing deprecated function from cctest 2015-10-08 09:48:20 +00:00
test-profile-generator.cc Map v8::Function to JSReceiver + IsCallable 2015-10-23 12:27:06 +00:00
test-random-number-generator.cc Continuing removing deprecated function from cctest 2015-10-08 09:48:20 +00:00
test-regexp.cc Experimental support for RegExp lookbehind. 2015-11-17 13:33:34 +00:00
test-reloc-info.cc Continuing removing deprecated function from cctest 2015-10-08 09:48:20 +00:00
test-representation.cc Continuing removing deprecated function from cctest 2015-10-08 09:48:20 +00:00
test-sampler-api.cc [turbofan] Fix various issues with --turbo-inlining enabled. 2015-10-15 12:02:06 +00:00
test-serialize.cc Map v8::Function to JSReceiver + IsCallable 2015-10-23 12:27:06 +00:00
test-simd.cc Continuing removing deprecated function from cctest 2015-10-08 09:48:20 +00:00
test-slots-buffer.cc Continuing removing deprecated function from cctest 2015-10-08 09:48:20 +00:00
test-spaces.cc [heap] make inline-allocation-observers precise 2015-11-18 15:55:02 +00:00
test-strings.cc [heap] Reland Remove retry space from AllocateRaw. 2015-09-29 09:08:22 +00:00
test-strtod.cc Continuing removing deprecated function from cctest 2015-10-08 09:48:20 +00:00
test-symbols.cc Continuing removing deprecated function from cctest 2015-10-08 09:48:20 +00:00
test-thread-termination.cc Map v8::Function to JSReceiver + IsCallable 2015-10-23 12:27:06 +00:00
test-threads.cc Continuing removing deprecated function from cctest 2015-09-21 10:34:59 +00:00
test-transitions.cc Continuing removing deprecated function from cctest 2015-09-21 10:34:59 +00:00
test-typedarrays.cc Continuing removing deprecated function from cctest 2015-09-21 10:34:59 +00:00
test-types.cc Move Hydrogen and Lithium to src/crankshaft/ 2015-10-20 13:25:55 +00:00
test-typing-reset.cc Remove unused Zone argument from InitializeAstVisitor 2015-10-15 10:34:28 +00:00
test-unbound-queue.cc Move heap and CPU profilers into a dedicated directory. 2015-09-28 19:34:18 +00:00
test-unboxed-doubles.cc Map v8::Object to v8::internal::JSReceiver 2015-11-16 16:48:54 +00:00
test-unique.cc Move Hydrogen and Lithium to src/crankshaft/ 2015-10-20 13:25:55 +00:00
test-unscopables-hidden-prototype.cc [presubmit] Enable readability/namespace linter checking. 2015-09-30 13:47:11 +00:00
test-utils-arm64.cc Continuing removing deprecated functions from cctests 2015-09-10 13:10:01 +00:00
test-utils-arm64.h ARM64: Enable shorten-64-to-32 warning 2015-05-15 05:13:11 +00:00
test-utils.cc Continuing removing deprecated functions from cctests 2015-09-10 13:10:01 +00:00
test-version.cc Continuing removing deprecated functions from cctests 2015-09-10 13:10:01 +00:00
test-weakmaps.cc [heap] Reland prepare code for smaller large object allocation limit than max allocatable memory. 2015-10-07 09:14:13 +00:00
test-weaksets.cc [heap] Reland prepare code for smaller large object allocation limit than max allocatable memory. 2015-10-07 09:14:13 +00:00
testcfg.py
trace-extension.cc Move heap and CPU profilers into a dedicated directory. 2015-09-28 19:34:18 +00:00
trace-extension.h [presubmit] Enable readability/namespace linter checking. 2015-09-30 13:47:11 +00:00
types-fuzz.h [presubmit] Enable readability/namespace linter checking. 2015-09-30 13:47:11 +00:00