v8/src/compiler
ahaas 4c1d574b22 [wasm] FromJS throws a TypeError for I64 values.
This behavior is required by the WebAssembly spec.

TEST=mjsunit/wasm/ffi-error.js:I64ParamsInSignatureThrows

R=titzer@chromium.org

Review-Url: https://codereview.chromium.org/2360653002
Cr-Commit-Position: refs/heads/master@{#39600}
2016-09-21 15:33:05 +00:00
..
arm [turbofan] Remove bogus constant materialization from frame. 2016-09-21 09:31:32 +00:00
arm64 [turbofan] Remove bogus constant materialization from frame. 2016-09-21 09:31:32 +00:00
ia32 [turbofan] Remove bogus constant materialization from frame. 2016-09-21 09:31:32 +00:00
mips [turbofan] Remove bogus constant materialization from frame. 2016-09-21 09:31:32 +00:00
mips64 [turbofan] Remove bogus constant materialization from frame. 2016-09-21 09:31:32 +00:00
ppc [turbofan] Remove bogus constant materialization from frame. 2016-09-21 09:31:32 +00:00
s390 [turbofan] Remove bogus constant materialization from frame. 2016-09-21 09:31:32 +00:00
x64 [turbofan] Remove bogus constant materialization from frame. 2016-09-21 09:31:32 +00:00
x87 [turbofan] Remove bogus constant materialization from frame. 2016-09-21 09:31:32 +00:00
access-builder.cc [turbofan] Typer changes to avoid Type representation dimension 2016-09-13 18:59:12 +00:00
access-builder.h [turbofan] Use MachineRepresentation for PropertyCell access. 2016-09-05 15:20:25 +00:00
access-info.cc [turbofan] Remove remaining uses of Class type from the compiler. 2016-08-31 05:44:35 +00:00
access-info.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
all-nodes.cc [turbofan] Also inline into try blocks. 2016-08-29 11:27:06 +00:00
all-nodes.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
ast-graph-builder.cc [turbofan] Ensure AstGraphBuilder::CheckOsrEntry hits once. 2016-09-16 11:57:56 +00:00
ast-graph-builder.h [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
ast-loop-assignment-analyzer.cc [turbofan] Fix loop assignment analysis on ForInStatements. 2016-09-20 12:37:33 +00:00
ast-loop-assignment-analyzer.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
basic-block-instrumentor.cc Separate CompilationInfo into its own file. 2016-08-31 08:49:59 +00:00
basic-block-instrumentor.h
branch-elimination.cc [turbofan] Add support for eager/soft deoptimization reasons. 2016-07-18 09:25:16 +00:00
branch-elimination.h
bytecode-branch-analysis.cc
bytecode-branch-analysis.h
bytecode-graph-builder.cc [TypeFeedbackVector] special ic slots for interpreter compare/binary ops. 2016-09-20 13:54:51 +00:00
bytecode-graph-builder.h [interpreter] Add fast path for dynamic global lookups 2016-09-20 10:31:52 +00:00
bytecode-loop-analysis.cc [interpreter] Use VisitForTest for loop conditions 2016-08-19 09:22:44 +00:00
bytecode-loop-analysis.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
c-linkage.cc Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
checkpoint-elimination.cc [turbofan] Eliminate checkpoints before return in common op reducer. 2016-07-18 11:56:54 +00:00
checkpoint-elimination.h [turbofan] Eliminate checkpoints before return in common op reducer. 2016-07-18 11:56:54 +00:00
code-assembler.cc [stubs] ApiCallbackDescriptor cleanup - make it independent on the number of JS parameters. 2016-09-21 11:08:45 +00:00
code-assembler.h [stubs] ApiCallbackDescriptor cleanup - make it independent on the number of JS parameters. 2016-09-21 11:08:45 +00:00
code-generator-impl.h [turbofan] Remove unnecessary code at end of every TurboFan function. 2016-07-11 12:41:31 +00:00
code-generator.cc [turbofan] Remove bogus constant materialization from frame. 2016-09-21 09:31:32 +00:00
code-generator.h [turbofan] Remove bogus constant materialization from frame. 2016-09-21 09:31:32 +00:00
common-node-cache.cc
common-node-cache.h [turbofan] Robust node caching for relocatable int{32|64} 2016-06-06 16:46:57 +00:00
common-operator-reducer.cc [turbofan] Fold "boolean not"-like Selects into branches. 2016-09-05 07:02:36 +00:00
common-operator-reducer.h [turbofan] Turn common Guard operator into simplified TypeGuard. 2016-05-18 06:19:30 +00:00
common-operator.cc Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
common-operator.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
control-builders.cc [turbofan] Fix loop exit rename for return/throw. 2016-07-25 17:43:01 +00:00
control-builders.h [turbofan] Introduce explicit loop exits markers. 2016-07-14 15:02:34 +00:00
control-equivalence.cc
control-equivalence.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
control-flow-optimizer.cc [turbofan] Move TryCloneBranch in the EffectControlLinearizer pass. 2016-07-12 15:23:36 +00:00
control-flow-optimizer.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
dead-code-elimination.cc [turbofan] Introduce explicit loop exits markers. 2016-07-14 15:02:34 +00:00
dead-code-elimination.h [turbofan] Introduce explicit loop exits markers. 2016-07-14 15:02:34 +00:00
diamond.h
effect-control-linearizer.cc [turbofan] Introduce TruncateTaggedToBit operator for ToBoolean truncation. 2016-09-14 13:12:28 +00:00
effect-control-linearizer.h [turbofan] Introduce TruncateTaggedToBit operator for ToBoolean truncation. 2016-09-14 13:12:28 +00:00
escape-analysis-reducer.cc [turbolizer] Visualize also the dead nodes. 2016-08-09 16:20:32 +00:00
escape-analysis-reducer.h
escape-analysis.cc [turbofan] Support for ConsString by escape analysis. 2016-09-21 12:30:00 +00:00
escape-analysis.h [turbofan] Skip data-flow analysis of code entry field. 2016-05-23 10:40:29 +00:00
frame-elider.cc
frame-elider.h
frame-states.cc [turbofan] Add support for accessor inlining. 2016-08-01 06:59:54 +00:00
frame-states.h [turbofan] Add support for accessor inlining. 2016-08-01 06:59:54 +00:00
frame.cc
frame.h Revert of [Turbofan] Change AlignSavedCalleeRegisterSlots to AlignFrame. (patchset #2 id:20001 of https://codereview.chromium.org/2124983004/ ) 2016-07-13 23:02:35 +00:00
gap-resolver.cc [turbofan]: Support using push instructions for setting up tail call parameters 2016-07-01 11:28:19 +00:00
gap-resolver.h
graph-reducer.cc [turbofan] Renamed tracing flags for TurboFan reducers and graph trimmer 2016-07-12 03:56:10 +00:00
graph-reducer.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
graph-replay.cc [turbolizer] Visualize also the dead nodes. 2016-08-09 16:20:32 +00:00
graph-replay.h
graph-trimmer.cc [turbofan] Renamed tracing flags for TurboFan reducers and graph trimmer 2016-07-12 03:56:10 +00:00
graph-trimmer.h
graph-visualizer.cc Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
graph-visualizer.h Replace SmartPointer<T> with unique_ptr<T> 2016-07-25 11:14:34 +00:00
graph.cc
graph.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
instruction-codes.h Reland of [turbofan] Insert dummy values when changing from None type. 2016-08-25 16:58:13 +00:00
instruction-scheduler.cc [turbofan] Instruction scheduler: keep ready nodes with same latency sorted in original order. 2016-09-07 02:12:23 +00:00
instruction-scheduler.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
instruction-selector-impl.h [turbofan] fix deopt's input life span 2016-08-24 19:45:15 +00:00
instruction-selector.cc [turbofan] Support virtual register redirection in instruction selector. 2016-09-19 08:02:46 +00:00
instruction-selector.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
instruction.cc [turbofan] Support virtual register redirection in instruction selector. 2016-09-19 08:02:46 +00:00
instruction.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
int64-lowering.cc Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
int64-lowering.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
js-builtin-reducer.cc [turbofan] Ensure that all prototypes are stable for push/pop. 2016-09-08 08:48:32 +00:00
js-builtin-reducer.h [builtins] Migrate Number predicates and make them optimizable. 2016-09-07 10:14:40 +00:00
js-call-reducer.cc [turbofan] Call frequencies for JSCallFunction and JSCallConstruct. 2016-09-14 04:13:09 +00:00
js-call-reducer.h [turbofan] Introduce CheckIf simplified operator. 2016-06-30 08:41:14 +00:00
js-context-specialization.cc Introduce IsUndefined(Isolate*) and IsTheHole(Isolate*) 2016-06-06 13:00:49 +00:00
js-context-specialization.h
js-create-lowering.cc Store the ScopeInfo in WithContexts 2016-09-06 08:27:52 +00:00
js-create-lowering.h [TurboFan] Improve Array constructor optimization 2016-07-06 15:17:10 +00:00
js-frame-specialization.cc
js-frame-specialization.h
js-generic-lowering.cc Include only stuff you need, part 8: Fix debug.h -> liveedit.h. 2016-09-06 09:00:28 +00:00
js-generic-lowering.h
js-global-object-specialization.cc [turbofan] Use MachineRepresentation for PropertyCell access. 2016-09-05 15:20:25 +00:00
js-global-object-specialization.h [turbofan] Remove the unused asm.js types from TypeCache. 2016-08-29 06:13:00 +00:00
js-graph.cc [turbofan] Inline calls to CPP builtins 2016-08-19 15:37:24 +00:00
js-graph.h [turbofan] Inline calls to CPP builtins 2016-08-19 15:37:24 +00:00
js-inlining-heuristic.cc [turbofan] Call frequencies for JSCallFunction and JSCallConstruct. 2016-09-14 04:13:09 +00:00
js-inlining-heuristic.h [turbofan] Call frequencies for JSCallFunction and JSCallConstruct. 2016-09-14 04:13:09 +00:00
js-inlining.cc [turbofan] Handle stack overflow during inlining. 2016-09-15 14:05:13 +00:00
js-inlining.h [turbofan] Also inline into try blocks. 2016-08-29 11:27:06 +00:00
js-intrinsic-lowering.cc [turbofan] Call frequencies for JSCallFunction and JSCallConstruct. 2016-09-14 04:13:09 +00:00
js-intrinsic-lowering.h [turbofan] Avoid introducing machine operators during typed lowering. 2016-07-25 10:38:00 +00:00
js-native-context-specialization.cc [turbofan] Call frequencies for JSCallFunction and JSCallConstruct. 2016-09-14 04:13:09 +00:00
js-native-context-specialization.h [turbofan] Remove the unused asm.js types from TypeCache. 2016-08-29 06:13:00 +00:00
js-operator.cc [turbofan] Lower ConsString creation in JSTypedLowering. 2016-09-20 11:00:39 +00:00
js-operator.h [TypeFeedbackVector] special ic slots for interpreter compare/binary ops. 2016-09-20 13:54:51 +00:00
js-typed-lowering.cc [turbofan] Lower ConsString creation in JSTypedLowering. 2016-09-20 11:00:39 +00:00
js-typed-lowering.h [turbofan] Lower ConsString creation in JSTypedLowering. 2016-09-20 11:00:39 +00:00
jump-threading.cc
jump-threading.h
linkage.cc [turbofan] Switch from a whitelist to a blacklist for NeedsFrameStateInput 2016-09-12 16:12:57 +00:00
linkage.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
live-range-separator.cc [turbofan] Readjust has_slot_use after splintering 2016-09-05 04:06:57 +00:00
live-range-separator.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
liveness-analyzer.cc
liveness-analyzer.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
load-elimination.cc [turbofan] Make field indices explicit for LoadElimination. 2016-09-02 10:56:57 +00:00
load-elimination.h [turbofan] Make field indices explicit for LoadElimination. 2016-09-02 10:56:57 +00:00
loop-analysis.cc Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
loop-analysis.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
loop-peeling.cc Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
loop-peeling.h [turbofan] Loop peeling with explicit loop exits. 2016-07-15 10:24:25 +00:00
loop-variable-optimizer.cc Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
loop-variable-optimizer.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
machine-operator-reducer.cc [turbofan] Reduce some Float64 division to multiplication 2016-09-16 17:55:30 +00:00
machine-operator-reducer.h Revert of [turbofan] Reduces x << y ^ x >>> (32 - y) to x ror (32 - y). (patchset #1 id:1 of https://codereview.chromium.org/2199323003/ ) 2016-08-10 14:47:17 +00:00
machine-operator.cc [wasm] Trap handling: ProtectedLoad instruction 2016-09-09 17:41:11 +00:00
machine-operator.h [wasm] Trap handling: ProtectedLoad instruction 2016-09-09 17:41:11 +00:00
memory-optimizer.cc [turbofan] Introduce PretenureFlagOf helper function. 2016-09-20 10:58:40 +00:00
memory-optimizer.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
move-optimizer.cc [Turbofan] Fix IsSlot function in MoveOptimizer. 2016-09-13 16:16:54 +00:00
move-optimizer.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
node-aux-data.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
node-cache.cc Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
node-cache.h [turbofan] Robust node caching for relocatable int{32|64} 2016-06-06 16:46:57 +00:00
node-marker.cc
node-marker.h [turbofan] node-marker.h: Fix an incorrect comment, and elaborate. 2016-06-15 10:59:28 +00:00
node-matchers.cc
node-matchers.h [turbofan] Reduce some Float64 division to multiplication 2016-09-16 17:55:30 +00:00
node-properties.cc [turbofan] Remove eager frame state from all nodes. 2016-08-03 10:39:09 +00:00
node-properties.h [turbofan] put src/types.[h/cc] into src/compiler/types.[h/cc] 2016-09-05 15:58:45 +00:00
node.cc [stubs] Call interface descriptors cleanup. 2016-07-26 14:56:35 +00:00
node.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
opcodes.cc
opcodes.h [turbofan] Introduce TruncateTaggedToBit operator for ToBoolean truncation. 2016-09-14 13:12:28 +00:00
operation-typer.cc [turbofan] Introduce dedicated NumberToBoolean operator. 2016-09-06 08:54:55 +00:00
operation-typer.h [turbofan] put src/types.[h/cc] into src/compiler/types.[h/cc] 2016-09-05 15:58:45 +00:00
operator-properties.cc [turbofan] Remove eager frame state from all nodes. 2016-08-03 10:39:09 +00:00
operator-properties.h [turbofan] Remove eager frame state from all nodes. 2016-08-03 10:39:09 +00:00
operator.cc [turbolizer] Show operator properties and arity in tooltip. 2016-08-09 15:45:43 +00:00
operator.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
osr.cc [turbofan] Solidify OSR deconstruction code a bit. 2016-09-12 10:46:25 +00:00
osr.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
OWNERS [turbofan] Add Enrico to OWNERS. 2016-06-01 08:56:46 +00:00
pipeline-statistics.cc Separate CompilationInfo into its own file. 2016-08-31 08:49:59 +00:00
pipeline-statistics.h Replace SmartPointer<T> with unique_ptr<T> 2016-07-25 11:14:34 +00:00
pipeline.cc [turbofan] Allow inlining into BytecodeGraphBuilder graph. 2016-09-15 08:53:34 +00:00
pipeline.h
raw-machine-assembler.cc [turbofan] Add support for tail-calling a runtime function with 6 arguments. 2016-09-07 10:13:10 +00:00
raw-machine-assembler.h [stubs] Port StoreFastElementsStub to TurboFan. 2016-09-14 09:28:56 +00:00
redundancy-elimination.cc [turbofan] Consume SignedSmall feedback for number operations. 2016-08-03 12:47:53 +00:00
redundancy-elimination.h [turbofan] Fix non-termination in RedundancyElimination. 2016-06-29 11:58:03 +00:00
register-allocator-verifier.cc [Turbofan] Make RegisterAllocatorVerifier tolerant of shared slots. 2016-08-03 13:49:54 +00:00
register-allocator-verifier.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
register-allocator.cc [turbofan] Regalloc: only pre-spill live ranges with spill operand. 2016-09-21 11:30:56 +00:00
register-allocator.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
representation-change.cc [turbofan] Introduce TruncateTaggedToBit operator for ToBoolean truncation. 2016-09-14 13:12:28 +00:00
representation-change.h [turbofan] Introduce TruncateTaggedToBit operator for ToBoolean truncation. 2016-09-14 13:12:28 +00:00
schedule.cc [stubs] Convert Internal/ArraySingleArgumentsConstructor to a TurboFan stub 2016-05-24 08:16:17 +00:00
schedule.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
scheduler.cc Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
scheduler.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
select-lowering.cc
select-lowering.h
simplified-lowering.cc [turbofan] Constant-fold some ObjectIs checks based on feedback type. 2016-09-16 09:21:07 +00:00
simplified-lowering.h [turbofan] Introduce dedicated NumberToBoolean operator. 2016-09-06 08:54:55 +00:00
simplified-operator-reducer.cc [turbofan] Strength reduce CheckTaggedSigned/Pointer with checked inputs. 2016-09-13 06:32:08 +00:00
simplified-operator-reducer.h [turbofan] Introduce CheckIf simplified operator. 2016-06-30 08:41:14 +00:00
simplified-operator.cc [turbofan] Introduce PretenureFlagOf helper function. 2016-09-20 10:58:40 +00:00
simplified-operator.h [turbofan] Introduce PretenureFlagOf helper function. 2016-09-20 10:58:40 +00:00
source-position.cc
source-position.h Move RelocInfo::kNoPosition. 2016-06-30 09:29:30 +00:00
state-values-utils.cc [base] Move hashmap allocator to a field 2016-09-20 10:46:07 +00:00
state-values-utils.h
store-store-elimination.cc [turbofan] In store-store elimination, revisit as often as necessary. 2016-09-01 12:30:10 +00:00
store-store-elimination.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
STYLE
tail-call-optimization.cc
tail-call-optimization.h
type-cache.cc [turbofan] Remove the unused asm.js types from TypeCache. 2016-08-29 06:13:00 +00:00
type-cache.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
type-hint-analyzer.cc [TypeFeedbackVector] special ic slots for interpreter compare/binary ops. 2016-09-20 13:54:51 +00:00
type-hint-analyzer.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
typed-optimization.cc [turbofan] Don't eliminate FinishRegion nodes. 2016-08-31 05:49:54 +00:00
typed-optimization.h [turbofan] Remove the unused asm.js types from TypeCache. 2016-08-29 06:13:00 +00:00
typer.cc [turbofan] Typer changes to avoid Type representation dimension 2016-09-13 18:59:12 +00:00
typer.h [turbofan] Remove the unused asm.js types from TypeCache. 2016-08-29 06:13:00 +00:00
types.cc [builtins] move String.prototype[@@iterator] to C++ builtin 2016-09-21 14:18:00 +00:00
types.h [turbofan] Remove dead Bounds class from type system. 2016-09-12 08:52:27 +00:00
unwinding-info-writer.h Emit unwinding information for TurboFan code. 2016-07-15 15:05:56 +00:00
value-numbering-reducer.cc [turbofan] Only do value numbering when types are compatible. 2016-08-17 08:45:26 +00:00
value-numbering-reducer.h [turbofan] Make sure value numbering only narrows types. 2016-07-14 08:10:21 +00:00
verifier.cc [turbofan] Introduce TruncateTaggedToBit operator for ToBoolean truncation. 2016-09-14 13:12:28 +00:00
verifier.h
wasm-compiler.cc [wasm] FromJS throws a TypeError for I64 values. 2016-09-21 15:33:05 +00:00
wasm-compiler.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
wasm-linkage.cc Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
zone-pool.cc Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00
zone-pool.h Moved zones and zone related stuff in its own directory. 2016-09-20 16:08:07 +00:00