Lines Matching refs:frame_
253 frame_(NULL), in CodeGenerator()
269 frame_->SyncRange(0, frame_->element_count() - 1); in DeclareGlobals()
272 frame_->EmitPush(rsi); // The context is the first argument. in DeclareGlobals()
273 frame_->EmitPush(kScratchRegister); in DeclareGlobals()
274 frame_->EmitPush(Smi::FromInt(is_eval() ? 1 : 0)); in DeclareGlobals()
275 Result ignored = frame_->CallRuntime(Runtime::kDeclareGlobals, 3); in DeclareGlobals()
289 ASSERT(frame_ == NULL); in Generate()
290 frame_ = new VirtualFrame(); in Generate()
301 frame_->SpillAll(); in Generate()
320 frame_->Enter(); in Generate()
323 frame_->AllocateStackSlots(); in Generate()
331 frame_->PushFunction(); in Generate()
335 context = frame_->CallStub(&stub, 1); in Generate()
337 context = frame_->CallRuntime(Runtime::kNewContext, 1); in Generate()
341 frame_->SaveContextRegister(); in Generate()
373 frame_->PushParameterAt(i); in Generate()
374 Result value = frame_->Pop(); in Generate()
385 frame_->Spill(context.reg()); in Generate()
386 frame_->Spill(value.reg()); in Generate()
401 frame_->Push(Factory::the_hole_value()); in Generate()
408 frame_->Adjust(3); in Generate()
438 frame_->CallRuntime(Runtime::kTraceEnter, 0); in Generate()
453 frame_->CallRuntime(Runtime::kDebugTrace, 0); in Generate()
465 frame_->PrepareForReturn(); in Generate()
515 frame_->Push(return_value); in GenerateReturnSequence()
516 *return_value = frame_->CallRuntime(Runtime::kTraceExit, 1); in GenerateReturnSequence()
528 frame_->Exit(); in GenerateReturnSequence()
712 frame_->Dup(); in CallApplyLazy()
713 Result probe = frame_->Pop(); in CallApplyLazy()
728 frame_->Drop(); // Can be called on a spilled frame. in CallApplyLazy()
777 __ push(frame_->ParameterAt(i)); in CallApplyLazy()
829 frame_->SpillAll(); in CallApplyLazy()
831 frame_->EmitPush(arguments_object.reg()); in CallApplyLazy()
847 Result res = frame_->CallStub(&call_function, 3); in CallApplyLazy()
849 frame_->Drop(1); // Drop the receiver as well. in CallApplyLazy()
851 frame_->EmitPush(res.reg()); in CallApplyLazy()
857 frame_->RestoreContextRegister(); in CallApplyLazy()
890 if (frame_ != NULL) { in VisitAndSpill()
891 frame_->SpillAll(); in VisitAndSpill()
901 if (frame_ != NULL) { in VisitStatementsAndSpill()
902 frame_->SpillAll(); in VisitStatementsAndSpill()
944 frame_->SyncRange(0, frame_->element_count() - 1); in VisitDeclaration()
945 frame_->EmitPush(rsi); in VisitDeclaration()
947 frame_->EmitPush(kScratchRegister); in VisitDeclaration()
951 frame_->EmitPush(Smi::FromInt(attr)); in VisitDeclaration()
957 frame_->EmitPush(Heap::kTheHoleValueRootIndex); in VisitDeclaration()
961 frame_->EmitPush(Smi::FromInt(0)); // no initial value! in VisitDeclaration()
963 Result ignored = frame_->CallRuntime(Runtime::kDeclareContextSlot, 4); in VisitDeclaration()
988 frame_->Drop(); in VisitDeclaration()
1001 frame_->Drop(); in VisitExpressionStatement()
1100 frame_->Drop(); in VisitIfStatement()
1132 Result return_value = frame_->Pop(); in VisitReturnStatement()
1136 frame_->PrepareForReturn(); in VisitReturnStatement()
1156 context = frame_->CallRuntime(Runtime::kPushCatchContext, 1); in VisitWithEnterStatement()
1158 context = frame_->CallRuntime(Runtime::kPushContext, 1); in VisitWithEnterStatement()
1162 frame_->SaveContextRegister(); in VisitWithEnterStatement()
1179 frame_->SaveContextRegister(); in VisitWithExitStatement()
1222 frame_->Dup(); in VisitSwitchStatement()
1247 frame_->Drop(); in VisitSwitchStatement()
1278 frame_->Drop(); in VisitSwitchStatement()
1285 frame_->Drop(); in VisitSwitchStatement()
1681 frame_->EmitPop(rax); in VisitForInStatement()
1704 frame_->EmitPush(rax); in VisitForInStatement()
1705 frame_->InvokeBuiltin(Builtins::TO_OBJECT, CALL_FUNCTION, 1); in VisitForInStatement()
1711 frame_->EmitPush(rax); // Push the object being iterated over. in VisitForInStatement()
1759 frame_->EmitPush(rax); // push the Object (slot 4) for the runtime call in VisitForInStatement()
1760 frame_->CallRuntime(Runtime::kGetPropertyNamesFast, 1); in VisitForInStatement()
1783 frame_->EmitPush(rax); // <- slot 3 in VisitForInStatement()
1784 frame_->EmitPush(rdx); // <- slot 2 in VisitForInStatement()
1787 frame_->EmitPush(rax); // <- slot 1 in VisitForInStatement()
1788 frame_->EmitPush(Smi::FromInt(0)); // <- slot 0 in VisitForInStatement()
1793 frame_->EmitPush(Smi::FromInt(0)); // <- slot 3 in VisitForInStatement()
1794 frame_->EmitPush(rax); // <- slot 2 in VisitForInStatement()
1799 frame_->EmitPush(rax); // <- slot 1 in VisitForInStatement()
1800 frame_->EmitPush(Smi::FromInt(0)); // <- slot 0 in VisitForInStatement()
1809 __ movq(rax, frame_->ElementAt(0)); // load the current count in VisitForInStatement()
1810 __ SmiCompare(frame_->ElementAt(1), rax); // compare to the array length in VisitForInStatement()
1814 __ movq(rdx, frame_->ElementAt(2)); in VisitForInStatement()
1822 __ movq(rdx, frame_->ElementAt(3)); in VisitForInStatement()
1828 __ movq(rcx, frame_->ElementAt(4)); in VisitForInStatement()
1834 frame_->EmitPush(frame_->ElementAt(4)); // push enumerable in VisitForInStatement()
1835 frame_->EmitPush(rbx); // push entry in VisitForInStatement()
1836 frame_->InvokeBuiltin(Builtins::FILTER_KEY, CALL_FUNCTION, 2); in VisitForInStatement()
1846 frame_->EmitPush(rbx); in VisitForInStatement()
1849 frame_->SpillAll(); in VisitForInStatement()
1852 frame_->EmitPush(frame_->ElementAt(each.size())); in VisitForInStatement()
1854 frame_->Drop(2); // Drop the original and the copy of the element. in VisitForInStatement()
1860 frame_->Drop(); // Drop the original of the element. in VisitForInStatement()
1865 frame_->SpillAll(); in VisitForInStatement()
1874 frame_->SpillAll(); in VisitForInStatement()
1875 frame_->EmitPop(rax); in VisitForInStatement()
1877 frame_->EmitPush(rax); in VisitForInStatement()
1883 frame_->Drop(5); in VisitForInStatement()
1903 frame_->EmitPush(rax); in VisitTryCatchStatement()
1911 frame_->Drop(); in VisitTryCatchStatement()
1922 frame_->PushTryHandler(TRY_CATCH_HANDLER); in VisitTryCatchStatement()
1923 int handler_height = frame_->height(); in VisitTryCatchStatement()
1978 frame_->EmitPop(Operand(kScratchRegister, 0)); in VisitTryCatchStatement()
1979 frame_->Drop(StackHandlerConstants::kSize / kPointerSize - 1); in VisitTryCatchStatement()
2001 frame_->SpillAll(); in VisitTryCatchStatement()
2007 frame_->Forget(frame_->height() - handler_height); in VisitTryCatchStatement()
2011 frame_->EmitPop(Operand(kScratchRegister, 0)); in VisitTryCatchStatement()
2012 frame_->Drop(StackHandlerConstants::kSize / kPointerSize - 1); in VisitTryCatchStatement()
2015 if (!function_return_is_shadowed_) frame_->PrepareForReturn(); in VisitTryCatchStatement()
2043 frame_->EmitPush(rax); in VisitTryFinallyStatement()
2051 frame_->PushTryHandler(TRY_FINALLY_HANDLER); in VisitTryFinallyStatement()
2052 int handler_height = frame_->height(); in VisitTryFinallyStatement()
2098 frame_->EmitPop(Operand(kScratchRegister, 0)); in VisitTryFinallyStatement()
2099 frame_->Drop(StackHandlerConstants::kSize / kPointerSize - 1); in VisitTryFinallyStatement()
2103 frame_->EmitPush(Heap::kUndefinedValueRootIndex); in VisitTryFinallyStatement()
2127 frame_->SpillAll(); in VisitTryFinallyStatement()
2134 frame_->Forget(frame_->height() - handler_height); in VisitTryFinallyStatement()
2139 frame_->EmitPop(Operand(kScratchRegister, 0)); in VisitTryFinallyStatement()
2140 frame_->Drop(StackHandlerConstants::kSize / kPointerSize - 1); in VisitTryFinallyStatement()
2145 frame_->EmitPush(rax); in VisitTryFinallyStatement()
2148 frame_->EmitPush(Heap::kUndefinedValueRootIndex); in VisitTryFinallyStatement()
2162 frame_->EmitPush(rcx); in VisitTryFinallyStatement()
2172 frame_->EmitPop(rcx); in VisitTryFinallyStatement()
2173 frame_->EmitPop(rax); in VisitTryFinallyStatement()
2193 frame_->PrepareForReturn(); in VisitTryFinallyStatement()
2210 frame_->EmitPush(rax); // undo pop from above in VisitTryFinallyStatement()
2211 frame_->CallRuntime(Runtime::kReThrow, 1); in VisitTryFinallyStatement()
2225 frame_->SpillAll(); in VisitDebuggerStatement()
2227 frame_->DebugBreak(); in VisitDebuggerStatement()
2239 frame_->SyncRange(0, frame_->element_count() - 1); in InstantiateBoilerplate()
2245 frame_->Push(boilerplate); in InstantiateBoilerplate()
2246 Result answer = frame_->CallStub(&stub, 1); in InstantiateBoilerplate()
2247 frame_->Push(&answer); in InstantiateBoilerplate()
2251 frame_->EmitPush(rsi); in InstantiateBoilerplate()
2252 frame_->EmitPush(boilerplate); in InstantiateBoilerplate()
2253 Result result = frame_->CallRuntime(Runtime::kNewClosure, 2); in InstantiateBoilerplate()
2254 frame_->Push(&result); in InstantiateBoilerplate()
2332 frame_->Push(node->handle()); in VisitLiteral()
2379 frame_->PushFunction(); in VisitRegExpLiteral()
2380 Result literals = frame_->Pop(); in VisitRegExpLiteral()
2382 frame_->Spill(literals.reg()); in VisitRegExpLiteral()
2405 frame_->Push(&boilerplate); in VisitRegExpLiteral()
2414 frame_->PushFunction(); in VisitObjectLiteral()
2415 Result literals = frame_->Pop(); in VisitObjectLiteral()
2417 frame_->Spill(literals.reg()); in VisitObjectLiteral()
2423 frame_->Push(&literals); in VisitObjectLiteral()
2425 frame_->Push(Smi::FromInt(node->literal_index())); in VisitObjectLiteral()
2427 frame_->Push(node->constant_properties()); in VisitObjectLiteral()
2430 clone = frame_->CallRuntime(Runtime::kCreateObjectLiteral, 3); in VisitObjectLiteral()
2432 clone = frame_->CallRuntime(Runtime::kCreateObjectLiteralShallow, 3); in VisitObjectLiteral()
2434 frame_->Push(&clone); in VisitObjectLiteral()
2448 frame_->Dup(); in VisitObjectLiteral()
2450 frame_->Push(key); in VisitObjectLiteral()
2451 Result ignored = frame_->CallStoreIC(); in VisitObjectLiteral()
2458 frame_->Dup(); in VisitObjectLiteral()
2461 Result ignored = frame_->CallRuntime(Runtime::kSetProperty, 3); in VisitObjectLiteral()
2467 frame_->Dup(); in VisitObjectLiteral()
2469 frame_->Push(Smi::FromInt(1)); in VisitObjectLiteral()
2471 Result ignored = frame_->CallRuntime(Runtime::kDefineAccessor, 4); in VisitObjectLiteral()
2477 frame_->Dup(); in VisitObjectLiteral()
2479 frame_->Push(Smi::FromInt(0)); in VisitObjectLiteral()
2481 Result ignored = frame_->CallRuntime(Runtime::kDefineAccessor, 4); in VisitObjectLiteral()
2496 frame_->PushFunction(); in VisitArrayLiteral()
2497 Result literals = frame_->Pop(); in VisitArrayLiteral()
2499 frame_->Spill(literals.reg()); in VisitArrayLiteral()
2505 frame_->Push(&literals); in VisitArrayLiteral()
2506 frame_->Push(Smi::FromInt(node->literal_index())); in VisitArrayLiteral()
2507 frame_->Push(node->constant_elements()); in VisitArrayLiteral()
2511 clone = frame_->CallRuntime(Runtime::kCreateArrayLiteral, 3); in VisitArrayLiteral()
2513 clone = frame_->CallRuntime(Runtime::kCreateArrayLiteralShallow, 3); in VisitArrayLiteral()
2516 clone = frame_->CallStub(&stub, 3); in VisitArrayLiteral()
2518 frame_->Push(&clone); in VisitArrayLiteral()
2536 Result prop_value = frame_->Pop(); in VisitArrayLiteral()
2541 frame_->Dup(); in VisitArrayLiteral()
2542 Result elements = frame_->Pop(); in VisitArrayLiteral()
2544 frame_->Spill(elements.reg()); in VisitArrayLiteral()
2554 frame_->Spill(prop_value.reg()); // Overwritten by the write barrier. in VisitArrayLiteral()
2570 frame_->CallRuntime(Runtime::kCreateCatchExtensionObject, 2); in VisitCatchExtensionObject()
2571 frame_->Push(&result); in VisitCatchExtensionObject()
2582 frame_->Push(Smi::FromInt(0)); in VisitAssignment()
2597 frame_->PushElementAt(target.size() - 1); in VisitAssignment()
2598 Result ignored = frame_->CallRuntime(Runtime::kToSlowProperties, 1); in VisitAssignment()
2606 frame_->Dup(); in VisitAssignment()
2610 Result temp = frame_->Pop(); in VisitAssignment()
2611 frame_->Dup(); in VisitAssignment()
2612 frame_->Push(&temp); in VisitAssignment()
2663 Result lhs = frame_->Pop(); in VisitAssignment()
2664 Result receiver = frame_->Pop(); in VisitAssignment()
2665 frame_->Push(&lhs); in VisitAssignment()
2666 frame_->Push(&receiver); in VisitAssignment()
2667 Result ignored = frame_->CallRuntime(Runtime::kToFastProperties, 1); in VisitAssignment()
2677 Result result = frame_->CallRuntime(Runtime::kThrow, 1); in VisitThrow()
2678 frame_->Push(&result); in VisitThrow()
2722 frame_->Push(Factory::undefined_value()); in VisitCall()
2729 frame_->PushElementAt(arg_count + 1); in VisitCall()
2731 frame_->PushElementAt(arg_count); in VisitCall()
2733 frame_->Push(Factory::undefined_value()); in VisitCall()
2737 frame_->PushParameterAt(-1); in VisitCall()
2741 frame_->CallRuntime(Runtime::kResolvePossiblyDirectEval, 3); in VisitCall()
2746 frame_->SetElementAt(arg_count + 1, &result); in VisitCall()
2747 frame_->SetElementAt(arg_count, &receiver); in VisitCall()
2754 result = frame_->CallStub(&call_function, arg_count + 1); in VisitCall()
2758 frame_->RestoreContextRegister(); in VisitCall()
2759 frame_->SetElementAt(0, &result); in VisitCall()
2778 frame_->Push(var->name()); in VisitCall()
2782 Result result = frame_->CallCallIC(RelocInfo::CODE_TARGET_CONTEXT, in VisitCall()
2785 frame_->RestoreContextRegister(); in VisitCall()
2787 frame_->Push(&result); in VisitCall()
2797 frame_->SyncRange(0, frame_->element_count() - 1); in VisitCall()
2798 frame_->EmitPush(rsi); in VisitCall()
2799 frame_->EmitPush(var->name()); in VisitCall()
2800 frame_->CallRuntime(Runtime::kLoadContextSlot, 2); in VisitCall()
2807 frame_->EmitPush(rax); in VisitCall()
2811 frame_->EmitPush(rdx); in VisitCall()
2850 frame_->Push(name); in VisitCall()
2854 Result result = frame_->CallCallIC(RelocInfo::CODE_TARGET, in VisitCall()
2857 frame_->RestoreContextRegister(); in VisitCall()
2858 frame_->Push(&result); in VisitCall()
2875 Result key = frame_->Pop(); in VisitCall()
2876 frame_->Dup(); // Duplicate the receiver. in VisitCall()
2877 frame_->Push(&key); in VisitCall()
2881 Result function = frame_->Pop(); in VisitCall()
2882 Result receiver = frame_->Pop(); in VisitCall()
2883 frame_->Push(&function); in VisitCall()
2884 frame_->Push(&receiver); in VisitCall()
2933 Result result = frame_->CallConstructor(arg_count); in VisitCallNew()
2935 frame_->SetElementAt(0, &result); in VisitCallNew()
2955 frame_->Push(&temp); in VisitCallRuntime()
2966 frame_->Push(node->name()); in VisitCallRuntime()
2967 Result answer = frame_->CallCallIC(RelocInfo::CODE_TARGET, in VisitCallRuntime()
2970 frame_->RestoreContextRegister(); in VisitCallRuntime()
2971 frame_->Push(&answer); in VisitCallRuntime()
2974 Result answer = frame_->CallRuntime(function, arg_count); in VisitCallRuntime()
2975 frame_->Push(&answer); in VisitCallRuntime()
2998 Result answer = frame_->InvokeBuiltin(Builtins::DELETE, CALL_FUNCTION, 2); in VisitUnaryOperation()
2999 frame_->Push(&answer); in VisitUnaryOperation()
3008 frame_->Push(variable->name()); in VisitUnaryOperation()
3009 Result answer = frame_->InvokeBuiltin(Builtins::DELETE, in VisitUnaryOperation()
3011 frame_->Push(&answer); in VisitUnaryOperation()
3018 frame_->SyncRange(0, frame_->element_count() - 1); in VisitUnaryOperation()
3019 frame_->EmitPush(rsi); in VisitUnaryOperation()
3020 frame_->EmitPush(variable->name()); in VisitUnaryOperation()
3021 Result context = frame_->CallRuntime(Runtime::kLookupContext, 2); in VisitUnaryOperation()
3023 frame_->EmitPush(context.reg()); in VisitUnaryOperation()
3025 frame_->EmitPush(variable->name()); in VisitUnaryOperation()
3026 Result answer = frame_->InvokeBuiltin(Builtins::DELETE, in VisitUnaryOperation()
3028 frame_->Push(&answer); in VisitUnaryOperation()
3034 frame_->Push(Factory::false_value()); in VisitUnaryOperation()
3039 frame_->SetElementAt(0, Factory::true_value()); in VisitUnaryOperation()
3046 Result answer = frame_->CallRuntime(Runtime::kTypeof, 1); in VisitUnaryOperation()
3047 frame_->Push(&answer); in VisitUnaryOperation()
3060 frame_->Push(Factory::undefined_value()); in VisitUnaryOperation()
3063 frame_->SetElementAt(0, Factory::undefined_value()); in VisitUnaryOperation()
3080 Result operand = frame_->Pop(); in VisitUnaryOperation()
3081 Result answer = frame_->CallStub(&stub, &operand); in VisitUnaryOperation()
3082 frame_->Push(&answer); in VisitUnaryOperation()
3090 Result operand = frame_->Pop(); in VisitUnaryOperation()
3097 Result answer = frame_->CallStub(&stub, &operand); in VisitUnaryOperation()
3102 frame_->Spill(answer.reg()); in VisitUnaryOperation()
3105 frame_->Push(&answer); in VisitUnaryOperation()
3112 Result operand = frame_->Pop(); in VisitUnaryOperation()
3116 frame_->Push(&operand); in VisitUnaryOperation()
3117 Result answer = frame_->InvokeBuiltin(Builtins::TO_NUMBER, in VisitUnaryOperation()
3121 frame_->Push(&answer); in VisitUnaryOperation()
3219 if (is_postfix) frame_->Push(Smi::FromInt(0)); in VisitCountOperation()
3227 if (!is_postfix) frame_->Push(Smi::FromInt(0)); in VisitCountOperation()
3232 Result new_value = frame_->Pop(); in VisitCountOperation()
3243 frame_->Spill(new_value.reg()); in VisitCountOperation()
3272 if (is_postfix) frame_->SetElementAt(target.size(), &old_value); in VisitCountOperation()
3274 frame_->Push(&new_value); in VisitCountOperation()
3280 if (is_postfix) frame_->Drop(); in VisitCountOperation()
3348 frame_->Dup(); in VisitBinaryOperation()
3353 frame_->Drop(); in VisitBinaryOperation()
3410 frame_->Dup(); in VisitBinaryOperation()
3415 frame_->Drop(); in VisitBinaryOperation()
3464 Result answer = frame_->Pop(); in VisitCompareOperation()
3470 frame_->Spill(answer.reg()); in VisitCompareOperation()
3515 frame_->Spill(answer.reg()); in VisitCompareOperation()
3575 Result answer = frame_->InvokeBuiltin(Builtins::IN, CALL_FUNCTION, 2); in VisitCompareOperation()
3576 frame_->Push(&answer); // push the result in VisitCompareOperation()
3583 Result answer = frame_->CallStub(&stub, 2); in VisitCompareOperation()
3600 frame_->PushFunction(); in VisitThisFunction()
3610 Result key = frame_->Pop(); in GenerateArgumentsAccess()
3615 Result result = frame_->CallStub(&stub, &key, &count); in GenerateArgumentsAccess()
3616 frame_->Push(&result); in GenerateArgumentsAccess()
3623 Result value = frame_->Pop(); in GenerateIsArray()
3639 Result value = frame_->Pop(); in GenerateIsRegExp()
3657 Result obj = frame_->Pop(); in GenerateIsObject()
3684 Result obj = frame_->Pop(); in GenerateIsFunction()
3697 Result obj = frame_->Pop(); in GenerateIsUndetectableObject()
3740 Result result = frame_->CallStub(&stub, &count); in GenerateArgumentsLength()
3741 frame_->Push(&result); in GenerateArgumentsLength()
3758 Result index = frame_->Pop(); in GenerateFastCharCodeAt()
3759 Result object = frame_->Pop(); in GenerateFastCharCodeAt()
3778 frame_->Spill(rcx); in GenerateFastCharCodeAt()
3792 frame_->Spill(object.reg()); in GenerateFastCharCodeAt()
3793 frame_->Spill(index.reg()); in GenerateFastCharCodeAt()
3877 frame_->Push(&temp); in GenerateFastCharCodeAt()
3884 Result value = frame_->Pop(); in GenerateIsNonNegativeSmi()
3896 Result value = frame_->Pop(); in GenerateIsSmi()
3918 frame_->CallRuntime(Runtime::kLog, 2); in GenerateLog()
3922 frame_->Push(Factory::undefined_value()); in GenerateLog()
3932 Result right = frame_->Pop(); in GenerateObjectEquals()
3933 Result left = frame_->Pop(); in GenerateObjectEquals()
3951 frame_->Push(&rbp_as_smi); in GenerateGetFramePointer()
3957 frame_->SpillAll(); in GenerateRandomPositiveSmi()
3978 frame_->Push(&result); in GenerateRandomPositiveSmi()
3991 Result result = frame_->CallStub(&stub, 4); in GenerateRegExpExec()
3992 frame_->Push(&result); in GenerateRegExpExec()
4002 Result answer = frame_->CallRuntime(Runtime::kNumberToString, 1); in GenerateNumberToString()
4003 frame_->Push(&answer); in GenerateNumberToString()
4011 Result answer = frame_->CallRuntime(Runtime::kMath_sin, 1); in GenerateMathSin()
4012 frame_->Push(&answer); in GenerateMathSin()
4020 Result answer = frame_->CallRuntime(Runtime::kMath_cos, 1); in GenerateMathCos()
4021 frame_->Push(&answer); in GenerateMathCos()
4032 Result answer = frame_->CallStub(&stub, 2); in GenerateStringAdd()
4033 frame_->Push(&answer); in GenerateStringAdd()
4045 Result answer = frame_->CallStub(&stub, 3); in GenerateSubString()
4046 frame_->Push(&answer); in GenerateSubString()
4057 Result answer = frame_->CallStub(&stub, 2); in GenerateStringCompare()
4058 frame_->Push(&answer); in GenerateStringCompare()
4066 Result obj = frame_->Pop(); in GenerateClassOf()
4068 frame_->Spill(obj.reg()); in GenerateClassOf()
4100 frame_->Push(&obj); in GenerateClassOf()
4105 frame_->Push(Factory::function_class_symbol()); in GenerateClassOf()
4110 frame_->Push(Factory::Object_symbol()); in GenerateClassOf()
4115 frame_->Push(Factory::null_value()); in GenerateClassOf()
4127 Result value = frame_->Pop(); in GenerateSetValueOf()
4128 Result object = frame_->Pop(); in GenerateSetValueOf()
4152 frame_->Spill(object.reg()); in GenerateSetValueOf()
4161 frame_->Push(&value); in GenerateSetValueOf()
4169 frame_->Dup(); in GenerateValueOf()
4170 Result object = frame_->Pop(); in GenerateValueOf()
4184 frame_->SetElementAt(0, &temp); in GenerateValueOf()
4197 frame_->SpillAll(); in LoadAndSpill()
4204 int original_height = frame_->height(); in Load()
4215 frame_->Push(Factory::false_value()); in Load()
4220 frame_->Push(Factory::true_value()); in Load()
4228 frame_->Push(Factory::true_value()); in Load()
4232 frame_->Push(Factory::false_value()); in Load()
4247 frame_->Push(Factory::true_value()); in Load()
4254 frame_->Push(Factory::false_value()); in Load()
4261 ASSERT(frame_->height() == original_height + 1); in Load()
4273 int original_height = frame_->height(); in LoadCondition()
4289 frame_->height() == original_height) { in LoadCondition()
4301 ASSERT(dest->is_used() || frame_->height() == original_height + 1); in LoadCondition()
4312 Result value = frame_->Pop(); in ToBoolean()
4352 frame_->Push(&value); // Undo the Pop() from above. in ToBoolean()
4354 Result temp = frame_->CallStub(&stub, 1); in ToBoolean()
4427 frame_->CallRuntime(Runtime::kThrowReferenceError, 1); in LoadReference()
4437 frame_->Nip(ref->size()); in UnloadReference()
4455 return frame_->ParameterAt(index); in SlotOperand()
4458 return frame_->LocalAt(index); in SlotOperand()
4538 frame_->Push(&value); in LoadFromSlot()
4574 frame_->SyncRange(0, frame_->element_count() - 1); in LoadFromSlot()
4575 frame_->EmitPush(rsi); in LoadFromSlot()
4577 frame_->EmitPush(kScratchRegister); in LoadFromSlot()
4580 frame_->CallRuntime(Runtime::kLoadContextSlotNoReferenceError, 2); in LoadFromSlot()
4582 value = frame_->CallRuntime(Runtime::kLoadContextSlot, 2); in LoadFromSlot()
4586 frame_->Push(&value); in LoadFromSlot()
4603 frame_->EmitPush(rcx); in LoadFromSlot()
4606 frame_->PushParameterAt(slot->index()); in LoadFromSlot()
4609 frame_->PushLocalAt(slot->index()); in LoadFromSlot()
4621 frame_->Push(&temp); in LoadFromSlot()
4637 Result value = frame_->Pop(); in LoadFromSlotCheckForArguments()
4644 frame_->Push(&arguments); in LoadFromSlotCheckForArguments()
4646 frame_->Push(&value); in LoadFromSlotCheckForArguments()
4656 frame_->Push(&value); in LoadFromSlotCheckForArguments()
4659 frame_->SetElementAt(0, &arguments); in LoadFromSlotCheckForArguments()
4671 frame_->SyncRange(0, frame_->element_count() - 1); in StoreToSlot()
4673 frame_->EmitPush(rsi); in StoreToSlot()
4674 frame_->EmitPush(slot->var()->name()); in StoreToSlot()
4692 value = frame_->CallRuntime(Runtime::kInitializeConstContextSlot, 3); in StoreToSlot()
4694 value = frame_->CallRuntime(Runtime::kStoreContextSlot, 3); in StoreToSlot()
4699 frame_->Push(&value); in StoreToSlot()
4728 frame_->StoreToParameterAt(slot->index()); in StoreToSlot()
4730 frame_->StoreToLocalAt(slot->index()); in StoreToSlot()
4737 frame_->Dup(); in StoreToSlot()
4738 Result value = frame_->Pop(); in StoreToSlot()
4747 frame_->Spill(value.reg()); in StoreToSlot()
4819 frame_->Push(slot->var()->name()); in LoadFromGlobalSlotCheckExtensions()
4823 Result answer = frame_->CallLoadIC(mode); in LoadFromGlobalSlotCheckExtensions()
4829 frame_->Drop(); in LoadFromGlobalSlotCheckExtensions()
4836 frame_->EmitPush(GlobalObject()); in LoadGlobal()
4840 frame_->Push(&temp); in LoadGlobal()
4850 frame_->Push(&temp); in LoadGlobalReceiver()
4875 frame_->Push(Factory::the_hole_value()); in StoreArgumentsObject()
4878 frame_->PushFunction(); in StoreArgumentsObject()
4879 frame_->PushReceiverSlotAddress(); in StoreArgumentsObject()
4880 frame_->Push(Smi::FromInt(scope()->num_parameters())); in StoreArgumentsObject()
4881 Result result = frame_->CallStub(&stub, 3); in StoreArgumentsObject()
4882 frame_->Push(&result); in StoreArgumentsObject()
4897 Result probe = frame_->Pop(); in StoreArgumentsObject()
4913 return frame_->Pop(); in StoreArgumentsObject()
4952 left_side = frame_->Pop(); in Comparison()
4953 right_side = frame_->Pop(); in Comparison()
4955 right_side = frame_->Pop(); in Comparison()
4956 left_side = frame_->Pop(); in Comparison()
5056 Result result = frame_->CallStub(&stub, &left_side, &right_side); in Comparison()
5119 Result answer = frame_->CallStub(&stub, &left_side, &right_side); in Comparison()
5138 Result answer = frame_->CallStub(&stub, &left_side, &right_side); in Comparison()
5193 frame_->Nip(1); in GenericBinaryOperation()
5197 Result right = frame_->Pop(); in GenericBinaryOperation()
5198 Result left = frame_->Pop(); in GenericBinaryOperation()
5204 frame_->Push(&left); in GenericBinaryOperation()
5205 frame_->Push(&right); in GenericBinaryOperation()
5211 answer = frame_->CallRuntime(Runtime::kStringAdd, 2); in GenericBinaryOperation()
5214 frame_->InvokeBuiltin(Builtins::STRING_ADD_LEFT, CALL_FUNCTION, 2); in GenericBinaryOperation()
5218 frame_->InvokeBuiltin(Builtins::STRING_ADD_RIGHT, CALL_FUNCTION, 2); in GenericBinaryOperation()
5220 frame_->Push(&answer); in GenericBinaryOperation()
5249 answer = stub.GenerateCall(masm_, frame_, &left, &right); in GenericBinaryOperation()
5269 answer = stub.GenerateCall(masm_, frame_, &left, &right); in GenericBinaryOperation()
5321 frame_->Push(&answer); in GenericBinaryOperation()
5434 frame_->Spill(operand->reg()); in ConstantSmiBinaryOperation()
5462 frame_->Spill(operand->reg()); in ConstantSmiBinaryOperation()
5488 frame_->Spill(operand->reg()); in ConstantSmiBinaryOperation()
5544 frame_->Spill(operand->reg()); in ConstantSmiBinaryOperation()
5579 frame_->Spill(operand->reg()); in ConstantSmiBinaryOperation()
5615 frame_->Spill(operand->reg()); in ConstantSmiBinaryOperation()
5724 frame_->Spill(rax); in LikelySmiBinaryOperation()
5725 frame_->Spill(rdx); in LikelySmiBinaryOperation()
5769 frame_->Spill(rcx); in LikelySmiBinaryOperation()
5889 Result key = frame_->Pop(); in EmitKeyedLoad()
5890 Result receiver = frame_->Pop(); in EmitKeyedLoad()
5973 frame_->Push(&receiver); in EmitKeyedLoad()
5974 frame_->Push(&key); in EmitKeyedLoad()
5982 Result answer = frame_->CallKeyedLoadIC(mode); in EmitKeyedLoad()
6580 frame_->Push(Handle<Object>(answer_object)); in FoldConstantSmis()
7396 Result answer = frame_->CallStub(&call_function, arg_count + 1); in CallWithArguments()
7399 frame_->RestoreContextRegister(); in CallWithArguments()
7400 frame_->SetElementAt(0, &answer); in CallWithArguments()