v8/test/cctest/interpreter/bytecode_expectations
neis 427242326c Reland: [modules] Properly initialize declared variables.
Before evaluating a module, all variables declared at the top-level
in _any_ of the modules in the dependency graph must be initialized.
This is observable because a module A can access a variable imported
from module B (e.g. a function) at a point when module B's body hasn't
been evaluated yet.

We achieve this by implementing modules internally as generators with
two states (not initialized, initialized).

R=adamk@chromium.org
BUG=v8:1569
CQ_INCLUDE_TRYBOTS=master.tryserver.v8:v8_win_dbg

Committed: https://crrev.com/f4dfb6fbe1cdd9a0f287a1a9c496e1f69f6f5d20
Committed: https://crrev.com/8c52a411583e870bd5ed100864caa58f491c5d88
Review-Url: https://codereview.chromium.org/2375793002
Cr-Original-Original-Commit-Position: refs/heads/master@{#39871}
Cr-Original-Commit-Position: refs/heads/master@{#39892}
Cr-Commit-Position: refs/heads/master@{#39900}
2016-09-30 07:53:57 +00:00
..
ArrayLiterals.golden [interpreter] Inline FastCloneShallowArrayStub into bytecode handler 2016-09-20 18:04:50 +00:00
ArrayLiteralsWide.golden [interpreter] Inline FastCloneShallowArrayStub into bytecode handler 2016-09-20 18:04:50 +00:00
AssignmentsInBinaryExpression.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
BasicBlockToBoolean.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
BasicLoops.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
BreakableBlocks.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
CallGlobal.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
CallLookupSlot.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
CallNew.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
CallRuntime.golden Reland: [modules] Properly initialize declared variables. 2016-09-30 07:53:57 +00:00
ClassAndSuperClass.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
ClassDeclarations.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
CompoundExpressions.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
Conditional.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
ConstVariable.golden [Interpreter] Remove constant pool type in tests 2016-09-06 16:11:23 +00:00
ConstVariableContextSlot.golden [Interpreter] Move context chain search loop to handler 2016-09-13 11:09:33 +00:00
ContextParameters.golden [Interpreter] Move context chain search loop to handler 2016-09-13 11:09:33 +00:00
ContextVariables.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
CountOperators.golden [interpreter] Inline FastCloneShallowArrayStub into bytecode handler 2016-09-20 18:04:50 +00:00
CreateArguments.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
CreateRestParameter.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
DeadCodeRemoval.golden [Interpreter] Remove constant pool type in tests 2016-09-06 16:11:23 +00:00
DeclareGlobals.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
Delete.golden [Interpreter] Move context chain search loop to handler 2016-09-13 11:09:33 +00:00
DeleteLookupSlotInEval.golden [Interpreter] Remove constant pool type in tests 2016-09-06 16:11:23 +00:00
DoDebugger.golden [Interpreter] Remove constant pool type in tests 2016-09-06 16:11:23 +00:00
DoExpression.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
Eval.golden [Interpreter] Move context chain search loop to handler 2016-09-13 11:09:33 +00:00
ForIn.golden [interpreter] Inline FastCloneShallowArrayStub into bytecode handler 2016-09-20 18:04:50 +00:00
ForOf.golden [modules] Detect and throw exceptions for cyclic dependencies 2016-09-26 22:42:42 +00:00
FunctionLiterals.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
Generators.golden [modules] Detect and throw exceptions for cyclic dependencies 2016-09-26 22:42:42 +00:00
GlobalCompoundExpressions.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
GlobalCountOperators.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
GlobalDelete.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
HeapNumberConstants.golden [Interpreter] Remove constant pool type in tests 2016-09-06 16:11:23 +00:00
IfConditions.golden Revert of [compiler] Properly guard the speculative optimizations for instanceof. (patchset #3 id:40001 of https://codereview.chromium.org/2370693002/ ) 2016-09-26 17:40:35 +00:00
IntegerConstants.golden [Interpreter] Remove constant pool type in tests 2016-09-06 16:11:23 +00:00
JumpsRequiringConstantWideOperands.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
LetVariable.golden [Interpreter] Remove constant pool type in tests 2016-09-06 16:11:23 +00:00
LetVariableContextSlot.golden [Interpreter] Move context chain search loop to handler 2016-09-13 11:09:33 +00:00
LoadGlobal.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
LogicalExpressions.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
LookupSlot.golden [interpreter] Add fast path for dynamic global lookups 2016-09-20 10:31:52 +00:00
LookupSlotInEval.golden [interpreter] Add fast path for dynamic global lookups 2016-09-20 10:31:52 +00:00
LookupSlotWideInEval.golden [interpreter] Add fast path for dynamic global lookups 2016-09-20 10:31:52 +00:00
NewTarget.golden [interpreter] Fix destroyed new.target register use. 2016-09-09 12:20:20 +00:00
ObjectLiterals.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
ObjectLiteralsWide.golden [Interpreter] Remove constant pool type in tests 2016-09-06 16:11:23 +00:00
OuterContextVariables.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
Parameters.golden [Interpreter] Remove constant pool type in tests 2016-09-06 16:11:23 +00:00
PrimitiveExpressions.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
PrimitiveReturnStatements.golden [Interpreter] Remove constant pool type in tests 2016-09-06 16:11:23 +00:00
PropertyCall.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
PropertyLoads.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
PropertyStores.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
RegExpLiterals.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
RegExpLiteralsWide.golden [Interpreter] Remove constant pool type in tests 2016-09-06 16:11:23 +00:00
RemoveRedundantLdar.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
StoreGlobal.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
StringConstants.golden [Interpreter] Remove constant pool type in tests 2016-09-06 16:11:23 +00:00
Switch.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
ThisFunction.golden [Interpreter] Remove constant pool type in tests 2016-09-06 16:11:23 +00:00
Throw.golden [Interpreter] Remove constant pool type in tests 2016-09-06 16:11:23 +00:00
TopLevelObjectLiterals.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
TryCatch.golden [Interpreter] Remove constant pool type in tests 2016-09-06 16:11:23 +00:00
TryFinally.golden [Interpreter] Remove constant pool type in tests 2016-09-06 16:11:23 +00:00
Typeof.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
UnaryOperators.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
WideRegisters.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
WithStatement.golden [Interpreter] Remove constant pool type in tests 2016-09-06 16:11:23 +00:00