v8/test/cctest/interpreter/bytecode_expectations
bmeurer a0484bc611 [compiler] Properly guard the speculative optimizations for instanceof.
Add a general feedback slot for instanceof similar to what we already have
for for-in, which basically has a fast (indicated by the uninitialized
sentinel) and a slow (indicated by the megamorphic sentinel) mode. Now
we can only take the fast path when the feedback slot says it hasn't
seen any funky inputs and nothing funky appeared in the prototype chain.
In the TurboFan code we also deoptimize whenever we see a funky object
(i.e. a proxy or an object that requires access checks) in the prototype
chain (similar to what Crankshaft already did).

Drive-by-fix: Also make Crankshaft respect the mode and therefore
address the deopt loop in Crankshaft around instanceof.

We might want to introduce an InstanceOfIC mechanism at some point and
track the map of the right-hand side.

BUG=v8:5267
R=mvstanton@chromium.org

Review-Url: https://codereview.chromium.org/2370693002
Cr-Commit-Position: refs/heads/master@{#39718}
2016-09-26 12:32:33 +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 [builtins] move String.prototype[@@iterator] to C++ builtin 2016-09-21 14:18:00 +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 [interpreter] Inline FastCloneShallowArrayStub into bytecode handler 2016-09-20 18:04:50 +00:00
FunctionLiterals.golden [turbofan] Collect invocation counts and compute relative call frequencies. 2016-09-14 10:20:48 +00:00
Generators.golden Remove ARGUMENTS_VARIABLE and fix crankshaft to properly detect the arguments object and keep it alive when inlining .apply 2016-09-23 14:27:02 +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 [compiler] Properly guard the speculative optimizations for instanceof. 2016-09-26 12:32:33 +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