v8/test/mjsunit
littledan 0e7f095c6d Restrict FunctionDeclarations in Statement position
ES2015 generally bans FunctionDeclarations in positions which expect a Statement,
as opposed to a StatementListItem, such as a FunctionDeclaration which constitutes
the body of a for loop. However, Annex B 3.2 and 3.4 make exceptions for labeled
function declarations and function declarations as the body of an if statement in
sloppy mode, in the latter case specifying that the semantics are as if the
function declaration occurred in a block. Chrome has historically permitted
further extensions, for the body of any flow control construct.

This patch addresses both the syntactic and semantic mismatches between V8 and
the spec. For the semantic mismatch, function declarations as the body of if
statements change from unconditionally hoisting in certain cases to acquiring
the sloppy mode function in block semantics (based on Annex B 3.3). For the
extra syntax permitted, this patch adds a flag,
--harmony-restrictive-declarations, which excludes disallowed function declaration
cases. A new UseCounter, LegacyFunctionDeclaration, is added to count how often
function declarations occur as the body of other constructs in sloppy mode. With
this patch, the code generally follows the form of the specification with respect
to parsing FunctionDeclarations, rather than allowing them in arbitrary Statement
positions, and makes it more clear where our extensions occur.

BUG=v8:4647
R=adamk
LOG=Y

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

Cr-Commit-Position: refs/heads/master@{#34470}
2016-03-03 21:34:26 +00:00
..
asm [tests] Fix bogus uses of assertThrows. 2016-01-07 14:49:21 +00:00
bugs Add test showing broken-ness of non-simple parameter named 'arguments' 2016-01-08 20:29:46 +00:00
compiler [Interpreter] Fix deopt when accumulator needs to be materialized. 2016-02-18 12:50:38 +00:00
es6 Remove the global Strength enum class completely. 2016-03-01 16:06:04 +00:00
es7 Remove --harmony-array-includes flag 2015-12-12 01:04:10 +00:00
harmony Restrict FunctionDeclarations in Statement position 2016-03-03 21:34:26 +00:00
ignition [interpreter] Add tests for translating PC from optimized frame. 2016-03-02 14:54:55 +00:00
lithium
regress [crankshaft] Fix invalid ToNumber optimization. 2016-03-02 19:28:04 +00:00
strong [runtime] Remove obsolete %Apply and %TailCall runtime entries. 2016-02-26 08:10:09 +00:00
third_party [tests] Fix bogus uses of assertThrows. 2016-01-07 14:49:21 +00:00
tools [Tick processor] Add an option to the tick-processor to print the summary. 2015-09-03 18:01:48 +00:00
wasm Enabling some embenchen tests running through asm->wasm. 2016-03-03 18:53:05 +00:00
accessor-map-sharing.js
accessors-no-prototype.js Accessor functions should have no prototype property 2015-02-05 23:34:28 +00:00
accessors-on-global-object.js
allocation-folding.js
allocation-site-info.js
api-call-after-bypassed-exception.js
apply-arguments-gc-safepoint.js
apply.js [test] Slim down mjsunit/apply. 2016-02-04 13:19:19 +00:00
argument-assigned.js
argument-named-arguments.js
arguments-apply-deopt.js
arguments-apply.js
arguments-call-apply.js
arguments-enum.js
arguments-escape.js
arguments-indirect.js Remove obsolete 'arguments' local variable handling. 2015-11-04 10:36:07 +00:00
arguments-lazy.js
arguments-load-across-eval.js
arguments-read-and-assignment.js
arguments.js Let AddDictionaryElement / AddFastElement purely add, move transition heuristics to AddDataElement 2015-06-25 10:49:02 +00:00
array-bounds-check-removal.js
array-concat.js
array-construct-transition.js
array-constructor-feedback.js Array() in optimized code can create with wrong ElementsKind in corner cases. 2015-04-15 21:02:13 +00:00
array-constructor.js Array constructor failed to enter it's function execution context. 2015-12-01 18:43:03 +00:00
array-elements-from-array-prototype-chain.js
array-elements-from-array-prototype.js
array-elements-from-object-prototype.js
array-feedback.js Array() in optimized code can create with wrong ElementsKind in corner cases. 2015-04-15 21:02:13 +00:00
array-foreach.js Tune Array.forEach, fix Array functions 2016-02-25 05:43:48 +00:00
array-functions-prototype-misc.js Array Builtin Refactoring: Creating API methods on ElementsAccessor 2015-07-31 16:10:51 +00:00
array-functions-prototype.js
array-indexing.js Ship Harmony ToLength 2015-11-05 00:45:05 +00:00
array-isarray.js [proxies] Make Array.isArray respect proxies. 2015-12-03 12:51:43 +00:00
array-iteration.js [runtime] Fix ES6 9.2.1 [[Call]] when encountering a classConstructor. 2015-11-04 14:30:09 +00:00
array-join.js Fix spec-compliance bug in Array.prototype.join. 2016-03-01 09:07:38 +00:00
array-length-number-conversion.js
array-length.js Ship Harmony ToLength 2015-11-05 00:45:05 +00:00
array-literal-feedback.js
array-literal-transitions.js
array-methods-read-only-length.js Fix for 435073: CHECK failure in CHECK(p->IsSmi()) failed. 2014-11-21 10:14:19 +00:00
array-natives-elements.js [test] Rewrite mjsunit/array-natives-elements to make it pass with Crankshaft. 2016-02-24 11:55:26 +00:00
array-non-smi-length.js
array-pop.js
array-push2.js
array-push3.js
array-push4.js
array-push5.js
array-push6.js
array-push7.js Add a --harmony-object-observe runtime flag (on by default) 2015-08-04 20:53:32 +00:00
array-push8.js
array-push9.js
array-push10.js
array-push11.js
array-push12.js Do not inline array push for arrays with dictionary mode elements. 2015-01-30 13:51:43 +00:00
array-push-non-smi-value.js
array-push.js
array-reduce.js
array-shift2.js
array-shift3.js
array-shift4.js Fix for 435073: CHECK failure in CHECK(p->IsSmi()) failed. 2014-11-21 10:14:19 +00:00
array-shift.js
array-slice.js
array-sort.js Add ToObject call in Array.prototype.sort 2015-06-11 21:43:21 +00:00
array-splice.js Adding ElementsAccessor Splice 2015-08-27 13:06:05 +00:00
array-store-and-grow.js
array-tostring.js
array-unshift.js
ascii-regexp-subject.js
assert-opt-and-deopt.js
big-array-literal.js [es6] Implement inner scope for functions with destructuring 2015-07-15 10:59:58 +00:00
big-object-literal.js
binary-op-newspace.js
binary-operation-overwrite.js
bit-not.js
bitops-info.js
bitwise-operations-bools.js
bitwise-operations-undefined.js
body-not-visible.js
bool-concat.js
boolean.js
bounds-checks-elimination.js
break.js
call-counts.js Remove bogus flags from call-counts.js test. 2015-10-15 13:31:57 +00:00
call-cross-realm.js Remove CallFunctionStub, always call through the Call builtin (also from CallIC). 2015-11-05 12:46:01 +00:00
call-intrinsic-type-error.js [runtime] Make target checking for %Call and %_Call consistent. 2016-02-26 07:00:32 +00:00
call-non-function-call.js
call-non-function.js
call-stub.js
call.js
callsite.js Improve the CallSite constructor 2015-12-09 17:28:35 +00:00
char-escape.js
class-of-builtins.js
closure.js
closures.js
codegen-coverage.js
compare-character.js
compare-known-objects-slow.js [ic] Also collect known map for relational comparison. 2015-09-21 16:05:43 +00:00
compare-known-objects-tostringtag.js [crankshaft] Handle @@toStringTag accessor correctly for BuildCompareInstruction. 2015-09-22 04:08:08 +00:00
compare-known-objects.js [ic] Also collect known map for relational comparison. 2015-09-21 16:05:43 +00:00
compare-nan.js
compare-nil.js
compare-objects.js
compare-table-eq.js Add more systematic tests for comparisons. 2015-04-08 13:15:41 +00:00
compare-table-gt.js Add more systematic tests for comparisons. 2015-04-08 13:15:41 +00:00
compare-table-gteq.js Add more systematic tests for comparisons. 2015-04-08 13:15:41 +00:00
compare-table-lt.js Add more systematic tests for comparisons. 2015-04-08 13:15:41 +00:00
compare-table-lteq.js Add more systematic tests for comparisons. 2015-04-08 13:15:41 +00:00
compare-table-ne.js Add more systematic tests for comparisons. 2015-04-08 13:15:41 +00:00
compare-table-seq.js Add more systematic tests for comparisons. 2015-04-08 13:15:41 +00:00
compare-table-sne.js Add more systematic tests for comparisons. 2015-04-08 13:15:41 +00:00
comparison-ops-and-undefined.js
concurrent-initial-prototype-change.js Revert of Revert of Protect the emptiness of Array prototype elements with a PropertyCell. (patchset #1 id:1 of https://codereview.chromium.org/1099203004/) 2015-04-22 10:35:09 +00:00
const-declaration.js Ship ES2015 sloppy-mode const semantics 2016-01-11 23:09:59 +00:00
const-eval-init.js Ship ES2015 sloppy-mode const semantics 2016-01-11 23:09:59 +00:00
const-redecl.js Ship ES2015 sloppy-mode const semantics 2016-01-11 23:09:59 +00:00
const.js Ship ES2015 sloppy-mode const semantics 2016-01-11 23:09:59 +00:00
constant-compare-nil-value.js
constant-fold-control-instructions.js [intrinsics] Kill the %_IsMinusZero intrinsic. 2016-02-09 06:28:53 +00:00
constant-folding-2.js Remove CanRetainOtherContext since embedded objects are now weak. 2015-03-26 11:22:07 +00:00
constant-folding.js Ship ES2015 sloppy-mode const semantics 2016-01-11 23:09:59 +00:00
context-calls-maintained.js
context-variable-assignments.js
contextual-calls.js
copy-on-write-assert.js
count-based-osr.js Remove some busy-OSR loops from tests using %OptimizeOsr(). 2015-02-09 14:11:23 +00:00
cross-realm-filtering.js Revert of Don't compile functions in a context the caller doesn't have access to (patchset #1 id:1 of https://codereview.chromium.org/1393713006/ ) 2015-10-12 14:36:00 +00:00
cross-realm-global-prototype.js [proxies] fix access issue when having proxies on the prototype-chain of global objects. 2015-12-16 14:31:39 +00:00
cyclic-array-to-string.js
cyrillic.js
d8-os.js [tests] Fix bogus uses of assertThrows. 2016-01-07 14:49:21 +00:00
d8-performance-now.js
d8-worker-sharedarraybuffer.js Remove harmony-atomics flag and collapse it into sharedarraybuffer flag 2015-09-01 18:34:00 +00:00
d8-worker-spawn-worker.js Change d8 Worker API so it takes a string instead of a function. 2015-07-01 16:41:56 +00:00
d8-worker.js Change d8 Worker API so it takes a string instead of a function. 2015-07-01 16:41:56 +00:00
date-parse.js Revert of Make dates default to the local timezone if none specified (https://codereview.chromium.org/1229903004/) 2015-10-15 12:18:16 +00:00
date.js [builtins] Refactor the remaining Date builtins. 2016-01-12 10:48:26 +00:00
debug-allscopes-on-debugger.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-backtrace-text.js [mjsunit] Remove unsupported flag --turbo-deoptimization from tests. 2015-06-15 09:43:11 +00:00
debug-backtrace.js Debugger: use debug break slots instead of ICs (except for calls). 2015-07-06 11:16:02 +00:00
debug-break-inline.js [mjsunit] Remove unsupported flag --turbo-deoptimization from tests. 2015-06-15 09:43:11 +00:00
debug-break-native.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-breakpoints.js Debugger: use debug break slots instead of ICs (except for calls). 2015-07-06 11:16:02 +00:00
debug-changebreakpoint.js [debugger] remove break point hit count and ignore count. 2016-01-21 13:15:29 +00:00
debug-clearbreakpoint.js
debug-clearbreakpointgroup.js [mjsunit] Remove unsupported flag --turbo-deoptimization from tests. 2015-06-15 09:43:11 +00:00
debug-compile-event-newfunction.js
debug-compile-event.js [V8] Report v8::AfterCompile and v8::CompileError to listener on pause 2014-12-11 10:59:00 +00:00
debug-compile-optimized.js
debug-conditional-breakpoints.js [debugger] remove break point hit count and ignore count. 2016-01-21 13:15:29 +00:00
debug-constructed-by.js
debug-constructor.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-continue.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-enable-disable-breakpoints.js
debug-evaluate-arguments.js [mjsunit] Remove unsupported flag --turbo-deoptimization from tests. 2015-06-15 09:43:11 +00:00
debug-evaluate-bool-constructor.js
debug-evaluate-closure.js [debugger] debug-evaluate should not not modify local values. 2015-12-15 09:54:46 +00:00
debug-evaluate-const.js Ship ES2015 sloppy-mode const semantics 2016-01-11 23:09:59 +00:00
debug-evaluate-declaration.js [debugger] fix debug-evaluate wrt shadowed context var. 2015-12-14 10:25:11 +00:00
debug-evaluate-locals-capturing.js [debugger] debug-evaluate should not not modify local values. 2015-12-15 09:54:46 +00:00
debug-evaluate-locals-optimized-double.js harmony-scoping: Implement debugger support for script scope. 2014-11-17 17:58:12 +00:00
debug-evaluate-locals-optimized.js harmony-scoping: Implement debugger support for script scope. 2014-11-17 17:58:12 +00:00
debug-evaluate-locals.js [debugger] debug-evaluate should not not modify local values. 2015-12-15 09:54:46 +00:00
debug-evaluate-modify-catch-block-scope.js [debugger] debug-evaluate should not not modify local values. 2015-12-15 09:54:46 +00:00
debug-evaluate-recursive.js
debug-evaluate-shadowed-context.js [debugger] debug-evaluate should not not modify local values. 2015-12-15 09:54:46 +00:00
debug-evaluate-with-context.js [V8] Report v8::AfterCompile and v8::CompileError to listener on pause 2014-12-11 10:59:00 +00:00
debug-evaluate-with.js [mjsunit] Remove unsupported flag --turbo-deoptimization from tests. 2015-06-15 09:43:11 +00:00
debug-evaluate.js Debugger: prepare code for debugging on a per-function basis. 2015-07-20 14:53:37 +00:00
debug-event-listener.js
debug-function-scopes.js Debugger: move implementation to a separate folder. 2015-07-31 11:08:15 +00:00
debug-handle.js
debug-is-active.js
debug-listbreakpoints.js
debug-liveedit-1.js
debug-liveedit-2.js Revert of Revert of Debugger: deduplicate shared function info when setting script break points. (patchset #1 id:1 of https://codereview.chromium.org/999273003/) 2015-03-26 10:43:51 +00:00
debug-liveedit-3.js
debug-liveedit-4.js Revert of Revert of Debugger: deduplicate shared function info when setting script break points. (patchset #1 id:1 of https://codereview.chromium.org/999273003/) 2015-03-26 10:43:51 +00:00
debug-liveedit-breakpoints.js Debugger: require debugger to be active when dealing with breaks. 2015-06-16 07:11:21 +00:00
debug-liveedit-check-stack.js [runtime] Replace many buggy uses of %_CallFunction with %_Call. 2015-09-08 13:35:32 +00:00
debug-liveedit-compile-error.js
debug-liveedit-diff.js
debug-liveedit-double-call.js
debug-liveedit-literals.js
debug-liveedit-newsource.js
debug-liveedit-patch-positions-replace.js
debug-liveedit-patch-positions.js Debugger: require debugger to be active when dealing with breaks. 2015-06-16 07:11:21 +00:00
debug-liveedit-restart-frame.js Remove RestartFrame from live edit API 2015-07-23 07:46:55 +00:00
debug-liveedit-stack-padding.js Debugger: require debugger to be active when dealing with breaks. 2015-06-16 07:11:21 +00:00
debug-liveedit-stepin.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-liveedit-utils.js
debug-materialized.js [deoptimizer] Do not pass arguments markers to the debugger. 2015-08-03 10:43:31 +00:00
debug-mirror-cache.js Debugger: load debugger builtins as normal native JS. 2015-08-12 14:22:22 +00:00
debug-multiple-breakpoints.js
debug-negative-break-points.js [debugger] muting break positions should work for the entire statement. 2016-01-26 15:05:10 +00:00
debug-optimize.js Debugger: prepare code for debugging on a per-function basis. 2015-07-20 14:53:37 +00:00
debug-receiver.js [mjsunit] Remove unsupported flag --turbo-deoptimization from tests. 2015-06-15 09:43:11 +00:00
debug-referenced-by.js
debug-references.js [mjsunit] Remove unsupported flag --turbo-deoptimization from tests. 2015-06-15 09:43:11 +00:00
debug-return-value.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-scopes.js Devtools: expose scopes source location to debugger 2016-03-02 02:20:05 +00:00
debug-script-breakpoints-closure.js
debug-script-breakpoints-nested.js
debug-script-breakpoints.js Debugger test updated to avoid setting breakpoints into random scripts. 2015-07-15 07:42:06 +00:00
debug-script.js Fix debug-script test expectation for no-snap build. 2016-02-05 13:04:51 +00:00
debug-scripts-request.js
debug-scripts-throw.js [debugger] Add test for Debug.scripts without listener. 2015-10-19 13:34:41 +00:00
debug-set-script-source.js
debug-set-variable-value.js Debugger: remove unused JS Debugger API. 2015-03-26 08:15:45 +00:00
debug-setbreakpoint.js [debugger] remove break point hit count and ignore count. 2016-01-21 13:15:29 +00:00
debug-setexceptionbreak.js
debug-sourceinfo.js [debugger] correctly find source position of implicit return statement. 2015-12-14 13:25:06 +00:00
debug-sourceslice.js
debug-step-2.js [mjsunit] Remove unsupported flag --turbo-deoptimization from tests. 2015-06-15 09:43:11 +00:00
debug-step-3.js
debug-step-4.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-step-end-of-script.js [debugger] fix break locations for assignments and return. 2016-03-01 12:47:55 +00:00
debug-step-into-json.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-step-into-valueof.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-step-stub-callfunction.js
debug-step-turbofan.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-step.js [debugger] fix break locations for assignments and return. 2016-03-01 12:47:55 +00:00
debug-stepframe-clearing.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-stepframe.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-stepin-accessor-ic.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-stepin-accessor.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-stepin-builtin-callback-opt.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-stepin-builtin-callback.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-stepin-builtin.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-stepin-call-function-stub.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-stepin-construct-call.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-stepin-constructor.js
debug-stepin-foreach.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-stepin-function-call.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-stepin-positions.js Debugger: require debugger to be active when dealing with breaks. 2015-06-16 07:11:21 +00:00
debug-stepin-property-function-call.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-stepnext-do-while.js
debug-stepout-recursive-function.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-stepout-scope-part1.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-stepout-scope-part2.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-stepout-scope-part3.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-stepout-scope-part4.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-stepout-scope-part5.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-stepout-scope-part6.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-stepout-scope-part7.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-stepout-scope-part8.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-stepout-to-builtin.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-suspend.js
debug-toggle-mirror-cache.js
debug-version.js
declare-locally.js Ship ES2015 sloppy-mode const semantics 2016-01-11 23:09:59 +00:00
deep-recursion.js
define-property-gc.js
dehoisted-array-index.js
delay-syntax-error.js
delete-global-properties.js
delete-in-eval.js
delete-in-with.js
delete-non-configurable.js
delete-vars-from-eval.js
delete.js
deopt-global-accessor.js
deopt-minus-zero.js
deopt-with-fp-regs.js
deopt-with-outer-context.js [Interpreter] Always store current context in the frames context slot. 2016-01-23 00:07:49 +00:00
deserialize-optimize-inner.js When optimizing deserialized code, make sure IC state is preserved. 2014-11-20 16:20:56 +00:00
deserialize-reference.js
deserialize-script-id.js Make deserialize-script-id test more robust. 2015-07-03 11:11:39 +00:00
dictionary-properties.js
div-mod.js
div-mul-minus-one.js
do-not-strip-fc.js
dont-enum-array-holes.js
dont-reinit-global-var.js
double-equals.js Update to ES2015 == semantics for Symbol/SIMD wrappers 2015-10-27 20:20:24 +00:00
double-intrinsics.js %GetOptimizationStatus(): Unconditionally return a sentinel when --always-opt is present 2015-04-14 14:57:48 +00:00
double-truncation.js
dtoa.js
element-accessor.js Use the LookupIterator to transition to elements accessors 2015-07-14 10:53:23 +00:00
element-read-only.js Fix non-standard element handling 2015-07-15 12:06:31 +00:00
elements-kind-depends.js
elements-kind.js Reland of "Remove ExternalArray, derived types, and element kinds" 2015-07-28 09:29:55 +00:00
elements-length-no-holey.js
elements-transition-and-store.js
elements-transition-hoisting.js
elements-transition.js
elide-double-hole-check-1.js
elide-double-hole-check-2.js
elide-double-hole-check-3.js
elide-double-hole-check-4.js
elide-double-hole-check-5.js
elide-double-hole-check-6.js
elide-double-hole-check-7.js
elide-double-hole-check-8.js
elide-double-hole-check-9.js
elide-double-hole-check-10.js Make sure builtins preserve guarantees about empty element array prototypes. 2015-04-20 15:16:34 +00:00
elide-double-hole-check-11.js Make sure builtins preserve guarantees about empty element array prototypes. 2015-04-20 15:16:34 +00:00
elide-double-hole-check-12.js Revert of Revert of Protect the emptiness of Array prototype elements with a PropertyCell. (patchset #1 id:1 of https://codereview.chromium.org/1099203004/) 2015-04-22 10:35:09 +00:00
ensure-growing-store-learns.js Use a stub in crankshaft for grow store arrays. 2015-04-30 12:34:10 +00:00
enumeration-order.js Use GetProperty for getting elements. 2015-06-02 10:42:29 +00:00
error-accessors.js
error-constructors.js Make Error.prototype.toString spec compliant; and fix various side-effect-free error printing methods 2015-12-09 17:03:08 +00:00
error-tostring-omit.js
error-tostring.js Make Error.prototype.toString spec compliant; and fix various side-effect-free error printing methods 2015-12-09 17:03:08 +00:00
escape.js
eval-enclosing-function-name.js
eval-stack-trace.js
eval-typeof-non-existing.js
eval.js
external-array.js
extra-arguments.js
extra-commas.js
fast-array-length.js
fast-element-smi-check.js
fast-literal.js
fast-non-keyed.js
fast-prototype.js [turbofan] Test has been outsmarted by optimization. 2015-11-26 14:04:09 +00:00
field-type-tracking.js
for-in-delete.js
for-in-null-or-undefined.js
for-in-opt.js Remove the Proxy enumerate trap 2016-02-22 21:11:36 +00:00
for-in-special-cases.js
for-in.js Fix for-in for large indexes and indexes on proxies 2015-05-20 17:03:03 +00:00
for.js
fun-as-prototype.js
fun-name.js
function-arguments-duplicate.js
function-arguments-null.js [es6] don't "replace" Object.prototype.toString for --harmony-tostring 2015-04-09 20:53:46 +00:00
function-bind-name.js [es6] Bound function name 2015-07-09 20:36:20 +00:00
function-bind.js [runtime] Introduce dedicated JSBoundFunction to represent bound functions. 2015-12-27 06:31:44 +00:00
function-call.js 1..isPrototypeOf.call(null) should return false, not throw TypeError. 2014-11-04 16:14:18 +00:00
function-caller.js [es6] Further fixing of tail Calls. 2016-02-11 10:27:10 +00:00
function-length-accessor.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
function-named-self-reference.js
function-names.js Make Date.prototype.toGMTString an alias for Date.prototype.toUTCString 2016-02-19 02:18:54 +00:00
function-property.js
function-prototype.js Move Maps' back pointers from "transitions" to "constructor" field 2015-02-24 20:50:24 +00:00
function-source.js
function-without-prototype.js
function.js
fuzz-accessors.js
generated-transition-stub.js
get-own-property-descriptor-non-objects.js [es6] Object.getOwnPropertyDescriptor should wrap primitives 2015-04-01 15:45:08 +00:00
get-own-property-descriptor.js
get-prototype-of.js Reland of Use ES2015-style TypedArray prototype chain (patchset #1 id:1 of https://codereview.chromium.org/1554523002/ ) 2015-12-30 22:14:16 +00:00
getter-in-prototype.js
getter-in-value-prototype.js
getters-on-elements.js
global-accessors.js
global-const-var-conflicts.js Ship ES2015 sloppy-mode const semantics 2016-01-11 23:09:59 +00:00
global-deleted-property-ic.js
global-hash.js Move hash code from hidden string to a private symbol 2015-05-26 11:26:36 +00:00
global-ic.js
global-infinity-strict.js [turbofan] Optimize loads of global constants in JSTypedLowering. 2015-04-13 16:22:05 +00:00
global-infinity.js [turbofan] Optimize loads of global constants in JSTypedLowering. 2015-04-13 16:22:05 +00:00
global-load-from-eval-in-with.js
global-load-from-eval.js
global-load-from-nested-eval.js
global-nan-strict.js [turbofan] Optimize loads of global constants in JSTypedLowering. 2015-04-13 16:22:05 +00:00
global-nan.js [turbofan] Optimize loads of global constants in JSTypedLowering. 2015-04-13 16:22:05 +00:00
global-properties.js [runtime-object]: part fix element key list on global object 2015-10-05 14:23:26 +00:00
global-undefined-strict.js [turbofan] Optimize loads of global constants in JSTypedLowering. 2015-04-13 16:22:05 +00:00
global-undefined.js [turbofan] Optimize loads of global constants in JSTypedLowering. 2015-04-13 16:22:05 +00:00
global-vars-eval.js
global-vars-with.js
handle-count-ast.js Fix flag convention in handle count tests and comment. 2015-06-29 13:40:48 +00:00
handle-count-runtime-literals.js Fix flag convention in handle count tests and comment. 2015-06-29 13:40:48 +00:00
has-own-property-evaluation-order.js Fix evaluation order of Object.prototype.hasOwnProperty 2015-06-24 22:30:52 +00:00
has-own-property.js
hex-parsing.js
html-comments.js
html-string-funcs.js
if-in-undefined.js
in.js
indexed-accessors.js
indexed-value-properties.js
instanceof-2.js
instanceof.js
int32-ops.js
integer-to-string.js
invalid-lhs.js [parser] make kInvalidLhsInFor a SyntaxError 2015-08-15 17:57:16 +00:00
invalid-source-element.js
json2.js Revert "The expected key is a valid identifier, which is already free of \\, <0x20, "." 2015-02-23 17:57:17 +00:00
json-parser-recursive.js
json-replacer-number-wrapper-tostring.js JSON.stringify should use toString of replacer and not valueOf 2015-06-24 22:18:08 +00:00
json-replacer-order.js JSON.stringify should handle the replacer before the space 2015-06-25 00:04:35 +00:00
json-stringify-recursive.js
json.js [proxies] Support proxies in JSON.parse and JSON.stringify. 2015-12-14 15:12:12 +00:00
keyed-array-call.js
keyed-call-generic.js
keyed-call-ic.js
keyed-ic.js
keyed-load-dictionary-stub.js
keyed-load-hole-to-undefined.js Don't MISS if you read the hole from certain FastHoley arrays. 2015-04-27 08:46:38 +00:00
keyed-load-with-string-key.js Hydrogen: fix keyed loads with string keys 2014-12-15 13:36:23 +00:00
keyed-load-with-symbol-key.js Alternative approach to using type feedback for Symbol-keyed properties 2015-10-23 08:18:02 +00:00
keyed-named-access.js
keyed-storage-extend.js
keywords-and-reserved_words.js
large-object-allocation.js
large-object-literal.js
lazy-load.js
lea-add.js
leakcheck.js
length.js
load_poly_effect.js
load-callback-from-value-classic.js
local-load-from-eval.js
logical.js
math-abs.js MIPS64: Fix random failures of fannkuch.js. 2015-06-19 16:11:55 +00:00
math-exp-precision.js
math-floor-negative.js Ensure mjsunit tests use dashes not underscores in flags directives. 2015-06-29 17:08:18 +00:00
math-floor-of-div-minus-zero.js Ensure mjsunit tests use dashes not underscores in flags directives. 2015-06-29 17:08:18 +00:00
math-floor-of-div-nosudiv.js Enable ARMv8 32-bit build. 2015-10-30 14:10:55 +00:00
math-floor-of-div.js Ensure mjsunit tests use dashes not underscores in flags directives. 2015-06-29 17:08:18 +00:00
math-floor-part1.js
math-floor-part2.js
math-floor-part3.js
math-floor-part4.js
math-imul.js
math-min-max.js
math-pow.js
math-round.js
math-sqrt.js
md5.js
megamorphic-callbacks.js
messages.js Change syntax error message for illegal token. 2016-03-02 14:20:48 +00:00
migrations.js Add a --harmony-object-observe runtime flag (on by default) 2015-08-04 20:53:32 +00:00
minmax-simple.js Reland: Use simple/fast inline function version of MinMax in JS 2015-10-20 13:43:53 +00:00
mirror-array.js
mirror-boolean.js
mirror-date.js
mirror-error.js
mirror-function.js
mirror-null.js
mirror-number.js
mirror-object.js Massive renaming of PropertyType values and other implied stuff. 2015-01-19 17:49:22 +00:00
mirror-regexp.js Implement flag and source getters on RegExp.prototype. 2015-11-05 13:08:55 +00:00
mirror-script.js [debugger] correctly find source position of implicit return statement. 2015-12-14 13:25:06 +00:00
mirror-string.js
mirror-undefined.js
mirror-unresolved-function.js
mjsunit.gyp Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
mjsunit.isolate Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
mjsunit.js [tests] Fix bogus uses of assertThrows. 2016-01-07 14:49:21 +00:00
mjsunit.status Restrict FunctionDeclarations in Statement position 2016-03-03 21:34:26 +00:00
mod-range.js Fix bugs in simplified lowering relating to int32/uint32 signs. 2014-11-10 14:28:42 +00:00
mod.js
mul-exhaustive-part1.js
mul-exhaustive-part2.js
mul-exhaustive-part3.js
mul-exhaustive-part4.js
mul-exhaustive-part5.js
mul-exhaustive-part6.js
mul-exhaustive-part7.js
mul-exhaustive-part8.js
mul-exhaustive-part9.js
mul-exhaustive-part10.js
multiline.js
multiple-return.js
nans.js
negate-zero.js
negate.js
neuter-twice.js
never-optimize.js
new-function.js
new.js
newline-in-string.js
no-branch-elimination.js
no-octal-constants-above-256.js
no-semicolon.js
non-ascii-replace.js
not.js
nul-characters.js
number-is.js
number-limits.js
number-literal.js
number-string-index-call.js
number-tostring-add.js
number-tostring-func.js
number-tostring-small.js
number-tostring.js
numops-fuzz-part1.js
numops-fuzz-part2.js
numops-fuzz-part3.js
numops-fuzz-part4.js
obj-construct.js
object-create.js
object-define-properties.js
object-define-property.js
object-freeze-global.js Optimize Object.seal and Object.preventExtensions 2014-12-10 20:02:59 +00:00
object-freeze.js Revert of Revert of [es6] don't throw if argument is non-object (O.freeze, O.seal, O.preventExtensions) (patchset #1 id:1 of https://codereview.chromium.org/1103473003/) 2015-04-22 10:33:33 +00:00
object-get-own-property-names.js
object-is.js
object-literal-conversions.js
object-literal-gc.js
object-literal-multiple-fields.js Fix issue with multiple properties and emit store. 2015-02-04 20:44:12 +00:00
object-literal-multiple-proto-fields.js Move object literal checking into checker classes 2015-01-29 23:12:43 +00:00
object-literal-overwrite.js
object-literal.js
object-prevent-extensions.js [es6] Partially implement Reflect.preventExtensions. 2015-10-21 09:23:47 +00:00
object-seal-global.js Optimize Object.seal and Object.preventExtensions 2014-12-10 20:02:59 +00:00
object-seal.js Revert of Revert of [es6] don't throw if argument is non-object (O.freeze, O.seal, O.preventExtensions) (patchset #1 id:1 of https://codereview.chromium.org/1103473003/) 2015-04-22 10:33:33 +00:00
object-toprimitive.js
omit-constant-mapcheck.js
opt-elements-kind.js Reland of "Remove ExternalArray, derived types, and element kinds" 2015-07-28 09:29:55 +00:00
optimized-typeof.js
osr-elements-kind.js Reland of "Remove ExternalArray, derived types, and element kinds" 2015-07-28 09:29:55 +00:00
outobject-double-for-in.js
override-read-only-property.js
packed-elements.js
parallel-optimize-disabled.js Ship ES2015 sloppy-mode const semantics 2016-01-11 23:09:59 +00:00
parse-int-float.js
parse-surrogates.js
pixel-array-rounding.js
polymorph-arrays.js Reduce size of array in polymorph-arrays.js. 2014-11-04 15:54:48 +00:00
primitive-keyed-access.js Fix keyed stores to strings convertible to indices 2015-07-13 10:46:35 +00:00
property-load-across-eval.js Ship ES2015 sloppy-mode const semantics 2016-01-11 23:09:59 +00:00
property-name-eval-arguments.js Allow eval and arguments as property names 2015-02-06 18:04:21 +00:00
property-object-key.js
proto-accessor.js [es6] throw TypeError when setting cyclic prototype value 2015-06-19 22:18:36 +00:00
proto.js
prototype-changes.js Reland "Lazily register prototype users..." 2015-04-27 12:59:36 +00:00
prototype.js
random-bit-correlations.js Implement symbol @@hasInstance for ES6 instanceof support. 2016-02-11 11:59:22 +00:00
readonly-accessor.js
readonly.js [runtime] support new Proxy() instead of Proxy.create and install getPrototypeOf trap 2015-11-13 14:14:07 +00:00
receiver-in-with-calls.js
recursive-store-opt.js
regexp-cache-replace.js
regexp-call-as-function.js
regexp-capture-3.js
regexp-capture.js
regexp-captures.js
regexp-compile.js Fix RegExp.prototype.compile.length to be 2 2016-01-26 06:43:17 +00:00
regexp-global.js
regexp-indexof.js
regexp-lookahead.js
regexp-loop-capture.js
regexp-multiline.js
regexp-not-sticky-yet.js [es6] ship regexp sticky flag. 2015-12-14 10:06:27 +00:00
regexp-results-cache.js
regexp-sort.js Reland Extend big-disjunction optimization to case-independent regexps 2015-06-25 11:42:20 +00:00
regexp-stack-overflow.js Move stack unwinding logic into the runtime. 2015-03-03 12:03:14 +00:00
regexp-standalones.js
regexp-static.js [regexp] remove no-op RegExp.multiline accessor and alias 2015-11-09 14:03:26 +00:00
regexp-string-methods.js
regexp-UC16.js
regexp.js [regexp] Fix RegExp.prototype.toString. 2016-02-11 13:23:20 +00:00
regress-3225.js [debugger] debug-evaluate should not not modify local values. 2015-12-15 09:54:46 +00:00
regress-3456.js
regress-4399.js [d8 Workers] Throw when calling Worker constructor without new 2015-08-04 20:40:12 +00:00
regress-587004.js [turbofan] Fix write barrier handling of map values. 2016-02-19 18:46:22 +00:00
regress-crbug-528379.js Check for validity when accessing call site objects in runtime. 2015-10-13 10:53:22 +00:00
regress-keyed-store-non-strict-arguments.js
regress-ntl.js Reland "[turbofan] Fix control reducer bug with NTLs." 2014-12-10 11:45:35 +00:00
regress-sync-optimized-lists.js Make it easier to test OSR with %OptimizeOsr() runtime call. 2015-02-09 12:47:43 +00:00
result-table-max.js Add more exhaustive tests for Math.min and Math.max. 2015-04-10 12:35:16 +00:00
result-table-min.js Add more exhaustive tests for Math.min and Math.max. 2015-04-10 12:35:16 +00:00
samevalue.js [builtins] Support SameValue and SameValueZero via runtime functions. 2016-02-17 10:54:25 +00:00
scanner.js
scope-calls-eval.js
search-string-multiple.js
serialize-embedded-error.js Do not embed array objects in unoptimized code. 2014-10-30 14:21:43 +00:00
serialize-ic.js
setter-on-constructor-prototype.js
setters-on-elements.js
shift-for-integer-div.js
shifts.js
short-circuit-boolean.js
simple-constructor.js
sin-cos.js Fix constant in Math.tan implementation. 2014-11-03 09:40:44 +00:00
smi-mul-const.js
smi-mul.js
smi-negative-zero.js
smi-ops-inlined.js
smi-ops.js
smi-representation.js
sparse-array-reverse.js
sparse-array.js
stack-traces-2.js [builtins] Migrate Number constructor similar to String constructor. 2016-01-13 15:15:08 +00:00
stack-traces-custom-lazy.js
stack-traces-custom.js Handle ES2015 Function.name in CallSite::GetMethodName 2016-03-03 20:19:41 +00:00
stack-traces-overflow.js
stack-traces.js Revert "Removed support deprecated (//@|/*@) source(URL|MappingURL)=" 2016-02-03 18:45:36 +00:00
store-dictionary.js
str-to-num.js
stress-array-push.js
strict-equals.js
strict-mode-eval.js
strict-mode-implicit-receiver.js
strict-mode-opt.js
strict-mode.js [es6] Further fixing of tail Calls. 2016-02-11 10:27:10 +00:00
string-add.js
string-case.js
string-charat.js
string-charcodeat.js
string-compare-alignment.js
string-concat.js [es5] call ToString() on argument in String.prototype.concat() fast case 2015-03-23 15:07:46 +00:00
string-external-cached.js
string-externalize.js
string-flatten.js
string-fromcharcode.js
string-index.js VectorICs: keyed element loads were kicking out non-smi keys unnecessarily 2015-03-23 18:50:23 +00:00
string-indexof-1.js Reland: Speedup stringsearch for two byte strings 2015-09-04 19:58:44 +00:00
string-indexof-2.js
string-lastindexof.js
string-localecompare.js
string-match.js
string-natives.js
string-normalize.js [es6] Fix String.prototype.normalize to properly validate argument 2015-07-15 15:15:14 +00:00
string-oom-array-join.js
string-oom-concat.js
string-oom-replace-global-regexp-with-string.js
string-oom-replace-regexp-global-with-function.js
string-replace-gc.js
string-replace-one-char.js
string-replace-with-empty.js
string-replace.js RegExp: remove last match info override. 2015-10-27 08:24:08 +00:00
string-search.js
string-slices-regexp.js
string-slices.js Internalize strings being stored into uninitialized property cells 2014-12-15 15:46:11 +00:00
string-split-cache.js
string-split.js
substr.js
sum-0-plus-undefined-is-NaN.js
switch-opt.js
switch.js Add a separate scope for switch 2015-08-24 18:57:20 +00:00
testcfg.py Reland "[test] Fix cctest path separators on Windows" 2015-09-17 13:01:12 +00:00
this-dynamic-lookup.js Remove --harmony-arrow-functions flag 2015-09-30 19:50:40 +00:00
this-in-callbacks.js
this-property-assignment.js
this.js
throw-and-catch-function.js
throw-exception-for-null-access.js
to_number_order.js [math] Fix Math.hypot to properly call ToNumber on all arguments. 2016-02-04 07:23:27 +00:00
to-precision.js
tobool.js
toint32.js
top-level-assignments.js
touint32.js
track-fields.js
transcendentals.js
transition-elements-kind.js
try-catch-extension-object.js
try-catch-scopes.js
try-finally-continue.js
try-finally-nested.js
try.js
typed-array-slice.js
typeof.js Mark null and undefined as undetectable, and use it to handle abstract equality comparison in the generic compare ic 2016-02-10 09:56:26 +00:00
unary-minus-deopt.js
unbox-double-arrays.js [runtime] Remove obsolete %GetPropertyNames runtime entry. 2015-08-10 11:18:31 +00:00
unbox-double-field-indexed.js [turbofan] Support vector IC feedback in the JSTypeFeedbackTable. 2015-05-19 08:58:29 +00:00
unbox-double-field.js [turbofan] Support vector IC feedback in the JSTypeFeedbackTable. 2015-05-19 08:58:29 +00:00
unbox-smi-field-indexed.js [turbofan] Support vector IC feedback in the JSTypeFeedbackTable. 2015-05-19 08:58:29 +00:00
unbox-smi-field.js [turbofan] Support vector IC feedback in the JSTypeFeedbackTable. 2015-05-19 08:58:29 +00:00
undeletable-functions.js
undetectable-compare.js [ic] Unify undetectable abstract equality comparison. 2016-02-26 06:17:21 +00:00
undetectable.js Add %GetUndetectable() test intrinsic and add tests for undetectables. 2015-05-11 11:28:56 +00:00
unicode-case-overoptimization.js
unicode-string-to-number.js
unicode-test.js
unicodelctest-no-optimization.js
unicodelctest.js
unused-context-in-with.js
unusual-constructor.js
uri.js Remove usage of S.p.charCodeAt from uri.js 2015-06-22 23:43:24 +00:00
value-callic-prototype-change.js
value-of.js
value-wrapper-accessor.js
value-wrapper.js
var.js
verify-assert-false.js
verify-check-false.js
whitespaces.js
with-function-expression.js
with-leave.js
with-parameter-access.js
with-prototype.js
with-readonly.js
with-value.js