Lines Matching refs:environment
590 Node* frame_state_before = environment()->Checkpoint( in PrepareEagerCheckpoint()
598 Node* effect = environment()->GetEffectDependency(); in PrepareEagerCheckpoint()
625 Node* frame_state_after = environment()->Checkpoint( in PrepareFrameState()
655 if (environment() != nullptr) { in VisitBytecodes()
682 environment()->BindAccumulator(node); in VisitLdaZero()
687 environment()->BindAccumulator(node); in VisitLdaSmi()
693 environment()->BindAccumulator(node); in VisitLdaConstant()
698 environment()->BindAccumulator(node); in VisitLdaUndefined()
703 environment()->BindAccumulator(node); in VisitLdaNull()
708 environment()->BindAccumulator(node); in VisitLdaTheHole()
713 environment()->BindAccumulator(node); in VisitLdaTrue()
718 environment()->BindAccumulator(node); in VisitLdaFalse()
723 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in VisitLdar()
724 environment()->BindAccumulator(value); in VisitLdar()
728 Node* value = environment()->LookupAccumulator(); in VisitStar()
729 environment()->BindRegister(bytecode_iterator().GetRegisterOperand(0), value); in VisitStar()
734 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in VisitMov()
735 environment()->BindRegister(bytecode_iterator().GetRegisterOperand(1), value); in VisitMov()
754 environment()->BindAccumulator(node, Environment::kAttachFrameState); in VisitLdaGlobal()
764 environment()->BindAccumulator(node, Environment::kAttachFrameState); in VisitLdaGlobalInsideTypeof()
773 Node* value = environment()->LookupAccumulator(); in BuildStoreGlobal()
777 environment()->RecordAfterState(node, Environment::kAttachFrameState); in BuildStoreGlobal()
792 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in VisitStaDataPropertyInLiteral()
794 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(1)); in VisitStaDataPropertyInLiteral()
795 Node* value = environment()->LookupAccumulator(); in VisitStaDataPropertyInLiteral()
802 environment()->RecordAfterState(node, Environment::kAttachFrameState); in VisitStaDataPropertyInLiteral()
811 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in VisitLdaContextSlot()
813 environment()->BindAccumulator(node); in VisitLdaContextSlot()
822 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in VisitLdaImmutableContextSlot()
824 environment()->BindAccumulator(node); in VisitLdaImmutableContextSlot()
831 environment()->BindAccumulator(node); in VisitLdaCurrentContextSlot()
838 environment()->BindAccumulator(node); in VisitLdaImmutableCurrentContextSlot()
845 Node* value = environment()->LookupAccumulator(); in VisitStaContextSlot()
848 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in VisitStaContextSlot()
855 Node* value = environment()->LookupAccumulator(); in VisitStaCurrentContextSlot()
868 environment()->BindAccumulator(value, Environment::kAttachFrameState); in BuildLdaLookupSlot()
895 Environment* true_environment = environment()->Copy(); in CheckContextExtensions()
901 slow_environment = environment(); in CheckContextExtensions()
904 slow_environment->Merge(environment()); in CheckContextExtensions()
934 environment()->BindAccumulator(NewNode(op)); in BuildLdaLookupContextSlot()
941 Environment* fast_environment = environment(); in BuildLdaLookupContextSlot()
954 environment()->BindAccumulator(value, Environment::kAttachFrameState); in BuildLdaLookupContextSlot()
957 fast_environment->Merge(environment()); in BuildLdaLookupContextSlot()
984 environment()->BindAccumulator(node, Environment::kAttachFrameState); in BuildLdaLookupGlobalSlot()
991 Environment* fast_environment = environment(); in BuildLdaLookupGlobalSlot()
1004 environment()->BindAccumulator(value, Environment::kAttachFrameState); in BuildLdaLookupGlobalSlot()
1007 fast_environment->Merge(environment()); in BuildLdaLookupGlobalSlot()
1023 Node* value = environment()->LookupAccumulator(); in BuildStaLookupSlot()
1030 environment()->BindAccumulator(store, Environment::kAttachFrameState); in BuildStaLookupSlot()
1044 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in VisitLdaNamedProperty()
1052 environment()->BindAccumulator(node, Environment::kAttachFrameState); in VisitLdaNamedProperty()
1057 Node* key = environment()->LookupAccumulator(); in VisitLdaKeyedProperty()
1059 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in VisitLdaKeyedProperty()
1065 environment()->BindAccumulator(node, Environment::kAttachFrameState); in VisitLdaKeyedProperty()
1071 Node* value = environment()->LookupAccumulator(); in BuildNamedStore()
1073 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in BuildNamedStore()
1091 environment()->RecordAfterState(node, Environment::kAttachFrameState); in BuildNamedStore()
1108 Node* value = environment()->LookupAccumulator(); in BuildKeyedStore()
1110 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in BuildKeyedStore()
1112 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(1)); in BuildKeyedStore()
1119 environment()->RecordAfterState(node, Environment::kAttachFrameState); in BuildKeyedStore()
1136 environment()->BindAccumulator(value); in VisitLdaModuleVariable()
1144 Node* value = environment()->LookupAccumulator(); in VisitStaModuleVariable()
1149 Node* new_context = environment()->LookupAccumulator(); in VisitPushContext()
1150 environment()->BindRegister(bytecode_iterator().GetRegisterOperand(0), in VisitPushContext()
1151 environment()->Context()); in VisitPushContext()
1152 environment()->SetContext(new_context); in VisitPushContext()
1157 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in VisitPopContext()
1158 environment()->SetContext(context); in VisitPopContext()
1173 environment()->BindAccumulator(closure); in VisitCreateClosure()
1181 Node* context = NewNode(op, environment()->LookupAccumulator()); in VisitCreateBlockContext()
1182 environment()->BindAccumulator(context); in VisitCreateBlockContext()
1190 environment()->BindAccumulator(context); in VisitCreateFunctionContext()
1197 environment()->BindAccumulator(context); in VisitCreateEvalContext()
1202 Node* exception = environment()->LookupRegister(reg); in VisitCreateCatchContext()
1207 Node* closure = environment()->LookupAccumulator(); in VisitCreateCatchContext()
1211 environment()->BindAccumulator(context); in VisitCreateCatchContext()
1216 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in VisitCreateWithContext()
1221 Node* context = NewNode(op, object, environment()->LookupAccumulator()); in VisitCreateWithContext()
1222 environment()->BindAccumulator(context); in VisitCreateWithContext()
1228 environment()->BindAccumulator(object, Environment::kAttachFrameState); in BuildCreateArguments()
1251 environment()->BindAccumulator(literal, Environment::kAttachFrameState); in VisitCreateRegExpLiteral()
1274 environment()->BindAccumulator(literal, Environment::kAttachFrameState); in VisitCreateArrayLiteral()
1292 environment()->BindRegister(bytecode_iterator().GetRegisterOperand(3), in VisitCreateObjectLiteral()
1302 all[1] = environment()->LookupRegister(receiver); in ProcessCallArguments()
1305 all[i] = environment()->LookupRegister( in ProcessCallArguments()
1317 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in BuildCall()
1331 environment()->BindAccumulator(value, Environment::kAttachFrameState); in BuildCall()
1341 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in VisitCallWithSpread()
1348 environment()->BindAccumulator(value, Environment::kAttachFrameState); in VisitCallWithSpread()
1373 environment()->BindAccumulator(value, Environment::kAttachFrameState); in VisitCallJSRuntime()
1382 all[i] = environment()->LookupRegister( in ProcessCallRuntimeArguments()
1398 environment()->BindAccumulator(value, Environment::kAttachFrameState); in VisitCallRuntime()
1412 environment()->BindRegistersToProjections(first_return, return_pair, in VisitCallRuntimeForPair()
1423 all[i] = environment()->LookupRegister( in ProcessConstructWithSpreadArguments()
1437 Node* new_target = environment()->LookupAccumulator(); in VisitConstructWithSpread()
1438 Node* callee = environment()->LookupRegister(callee_reg); in VisitConstructWithSpread()
1444 environment()->BindAccumulator(value, Environment::kAttachFrameState); in VisitConstructWithSpread()
1457 environment()->BindAccumulator(value, Environment::kAttachFrameState); in VisitInvokeIntrinsic()
1467 all[i] = environment()->LookupRegister( in ProcessConstructArguments()
1486 Node* new_target = environment()->LookupAccumulator(); in VisitConstruct()
1487 Node* callee = environment()->LookupRegister(callee_reg); in VisitConstruct()
1494 environment()->BindAccumulator(value, Environment::kAttachFrameState); in VisitConstruct()
1499 Node* value = environment()->LookupAccumulator(); in VisitThrow()
1501 environment()->BindAccumulator(call, Environment::kAttachFrameState); in VisitThrow()
1508 Node* value = environment()->LookupAccumulator(); in VisitReThrow()
1517 Node* effect = environment()->GetEffectDependency(); in TryBuildSimplifiedBinaryOp()
1518 Node* control = environment()->GetControlDependency(); in TryBuildSimplifiedBinaryOp()
1525 environment()->UpdateEffectDependency(node); in TryBuildSimplifiedBinaryOp()
1535 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in BuildBinaryOp()
1536 Node* right = environment()->LookupAccumulator(); in BuildBinaryOp()
1547 environment()->BindAccumulator(node, Environment::kAttachFrameState); in BuildBinaryOp()
1626 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(1)); in BuildBinaryOpWithImmediate()
1638 environment()->BindAccumulator(node, Environment::kAttachFrameState); in BuildBinaryOpWithImmediate()
1670 Node* left = environment()->LookupAccumulator(); in VisitInc()
1683 environment()->BindAccumulator(node, Environment::kAttachFrameState); in VisitInc()
1688 Node* left = environment()->LookupAccumulator(); in VisitDec()
1701 environment()->BindAccumulator(node, Environment::kAttachFrameState); in VisitDec()
1705 Node* value = environment()->LookupAccumulator(); in VisitLogicalNot()
1707 environment()->BindAccumulator(node); in VisitLogicalNot()
1712 environment()->LookupAccumulator()); in VisitToBooleanLogicalNot()
1714 environment()->BindAccumulator(node); in VisitToBooleanLogicalNot()
1719 NewNode(javascript()->TypeOf(), environment()->LookupAccumulator()); in VisitTypeOf()
1720 environment()->BindAccumulator(node); in VisitTypeOf()
1725 Node* key = environment()->LookupAccumulator(); in BuildDelete()
1727 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in BuildDelete()
1730 environment()->BindAccumulator(node, Environment::kAttachFrameState); in BuildDelete()
1743 environment()->LookupAccumulator()); in VisitGetSuperConstructor()
1744 environment()->BindRegister(bytecode_iterator().GetRegisterOperand(0), node, in VisitGetSuperConstructor()
1751 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in BuildCompareOp()
1752 Node* right = environment()->LookupAccumulator(); in BuildCompareOp()
1754 environment()->BindAccumulator(node, Environment::kAttachFrameState); in BuildCompareOp()
1795 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in VisitTestUndetectable()
1797 environment()->BindAccumulator(node); in VisitTestUndetectable()
1802 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in VisitTestNull()
1805 environment()->BindAccumulator(result); in VisitTestNull()
1810 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in VisitTestUndefined()
1813 environment()->BindAccumulator(result); in VisitTestUndefined()
1817 Node* value = NewNode(js_op, environment()->LookupAccumulator()); in BuildCastOperator()
1818 environment()->BindRegister(bytecode_iterator().GetRegisterOperand(0), value, in BuildCastOperator()
1895 environment()->RecordAfterState(node, Environment::kAttachFrameState); in VisitStackCheck()
1900 NewNode(javascript()->StoreMessage(), environment()->LookupAccumulator()); in VisitSetPendingMessage()
1901 environment()->BindAccumulator(previous_message); in VisitSetPendingMessage()
1908 NewNode(common()->Return(), pop_node, environment()->LookupAccumulator()); in VisitReturn()
1915 environment()->RecordAfterState(call, Environment::kAttachFrameState); in VisitDebugger()
1927 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in BuildForInPrepare()
1929 environment()->BindRegistersToProjections( in BuildForInPrepare()
1939 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in VisitForInContinue()
1941 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(1)); in VisitForInContinue()
1945 environment()->BindAccumulator(exit_cond, Environment::kAttachFrameState); in VisitForInContinue()
1951 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in BuildForInNext()
1953 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(1)); in BuildForInNext()
1955 Node* cache_type = environment()->LookupRegister( in BuildForInNext()
1957 Node* cache_array = environment()->LookupRegister( in BuildForInNext()
1962 environment()->BindAccumulator(value, Environment::kAttachFrameState); in BuildForInNext()
1970 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0)); in VisitForInStep()
1974 environment()->BindAccumulator(index, Environment::kAttachFrameState); in VisitForInStep()
1978 Node* state = environment()->LookupAccumulator(); in VisitSuspendGenerator()
1979 Node* generator = environment()->LookupRegister( in VisitSuspendGenerator()
1987 int register_count = environment()->register_count(); in VisitSuspendGenerator()
1996 environment()->LookupRegister(interpreter::Register(i)); in VisitSuspendGenerator()
2006 Node* generator = environment()->LookupRegister( in VisitResumeGenerator()
2011 for (int i = 0; i < environment()->register_count(); ++i) { in VisitResumeGenerator()
2013 environment()->BindRegister(interpreter::Register(i), value); in VisitResumeGenerator()
2019 environment()->BindAccumulator(state, Environment::kAttachFrameState); in VisitResumeGenerator()
2043 if (environment() != nullptr) { in SwitchToMergeEnvironment()
2044 it->second->Merge(environment()); in SwitchToMergeEnvironment()
2057 environment()->PrepareForLoop(loop_info.assignments()); in BuildLoopHeaderEnvironment()
2063 merge_environments_[current_offset] = environment()->Copy(); in BuildLoopHeaderEnvironment()
2076 merge_environment = environment(); in MergeIntoSuccessorEnvironment()
2078 merge_environment->Merge(environment()); in MergeIntoSuccessorEnvironment()
2094 Environment* osr_env = environment()->Copy(); in BuildOSRLoopEntryPoint()
2096 environment()->Merge(osr_env); in BuildOSRLoopEntryPoint()
2129 environment()->PrepareForLoopExit(loop_node, loop_info.assignments()); in BuildLoopExitsUntilLoop()
2144 Environment* if_false_environment = environment()->Copy(); in BuildJumpIf()
2153 Environment* if_true_environment = environment()->Copy(); in BuildJumpIfNot()
2161 Node* accumulator = environment()->LookupAccumulator(); in BuildJumpIfEqual()
2168 NewBranch(environment()->LookupAccumulator()); in BuildJumpIfFalse()
2169 Environment* if_true_environment = environment()->Copy(); in BuildJumpIfFalse()
2170 environment()->BindAccumulator(jsgraph()->FalseConstant()); in BuildJumpIfFalse()
2179 NewBranch(environment()->LookupAccumulator()); in BuildJumpIfTrue()
2180 Environment* if_false_environment = environment()->Copy(); in BuildJumpIfTrue()
2181 environment()->BindAccumulator(jsgraph()->TrueConstant()); in BuildJumpIfTrue()
2190 Node* accumulator = environment()->LookupAccumulator(); in BuildJumpIfToBooleanTrue()
2197 Node* accumulator = environment()->LookupAccumulator(); in BuildJumpIfToBooleanFalse()
2204 Node* accumulator = environment()->LookupAccumulator(); in BuildJumpIfNotHole()
2211 Node* accumulator = environment()->LookupAccumulator(); in BuildJumpIfJSReceiver()
2275 *current_input++ = environment()->Context(); in MakeNode()
2284 *current_input++ = environment()->GetEffectDependency(); in MakeNode()
2287 *current_input++ = environment()->GetControlDependency(); in MakeNode()
2292 environment()->UpdateControlDependency(result); in MakeNode()
2296 environment()->UpdateEffectDependency(result); in MakeNode()
2303 Environment* success_env = environment()->Copy(); in MakeNode()
2305 Node* effect = environment()->GetEffectDependency(); in MakeNode()
2307 Node* context = environment()->LookupRegister(context_register); in MakeNode()
2308 environment()->UpdateControlDependency(on_exception); in MakeNode()
2309 environment()->UpdateEffectDependency(on_exception); in MakeNode()
2310 environment()->BindAccumulator(on_exception); in MakeNode()
2311 environment()->SetContext(context); in MakeNode()
2319 environment()->UpdateControlDependency(on_success); in MakeNode()