Lines Matching refs:zone
479 LInstructionGap* gap = new(graph_->zone()) LInstructionGap(block); in AddInstruction()
554 chunk_ = new(zone()) LChunk(info(), graph()); in Build()
585 return new(zone()) LUnallocated(LUnallocated::FIXED_REGISTER, in ToUnallocated()
591 return new(zone()) LUnallocated(LUnallocated::FIXED_DOUBLE_REGISTER, in ToUnallocated()
607 return Use(value, new(zone()) LUnallocated(LUnallocated::MUST_HAVE_REGISTER)); in UseRegister()
613 new(zone()) LUnallocated(LUnallocated::MUST_HAVE_REGISTER, in UseRegisterAtStart()
619 return Use(value, new(zone()) LUnallocated(LUnallocated::WRITABLE_REGISTER)); in UseTempRegister()
624 return Use(value, new(zone()) LUnallocated(LUnallocated::NONE)); in Use()
629 return Use(value, new(zone()) LUnallocated(LUnallocated::NONE, in UseAtStart()
665 : Use(value, new(zone()) LUnallocated(LUnallocated::ANY)); in UseAny()
692 new(zone()) LUnallocated(LUnallocated::MUST_HAVE_REGISTER)); in DefineAsRegister()
700 new(zone()) LUnallocated(LUnallocated::FIXED_SLOT, index)); in DefineAsSpilled()
708 new(zone()) LUnallocated(LUnallocated::SAME_AS_FIRST_INPUT)); in DefineSameAsFirst()
790 instr->set_pointer_map(new(zone()) LPointerMap(position_)); in AssignPointerMap()
797 new(zone()) LUnallocated(LUnallocated::MUST_HAVE_REGISTER); in TempRegister()
819 return new(zone()) LLabel(instr->block()); in DoBlockEntry()
824 return AssignEnvironment(new(zone()) LDeoptimize); in DoSoftDeoptimize()
829 return AssignEnvironment(new(zone()) LDeoptimize); in DoDeoptimize()
841 LArithmeticT* result = new(zone()) LArithmeticT(op, left, right); in DoShift()
875 DefineAsRegister(new(zone()) LShiftI(op, left, right, does_deopt)); in DoShift()
888 LArithmeticD* result = new(zone()) LArithmeticD(op, left, right); in DoArithmeticD()
907 new(zone()) LArithmeticT(op, left_operand, right_operand); in DoArithmeticT()
1006 LEnvironment* result = new(zone()) LEnvironment( in CreateEnvironment()
1023 op = new(zone()) LArgument(argument_index++); in CreateEnvironment()
1039 return new(zone()) LGoto(instr->FirstSuccessor()->block_id()); in DoGoto()
1049 return new(zone()) LGoto(successor->block_id()); in DoBranch()
1052 LBranch* result = new(zone()) LBranch(UseRegister(value)); in DoBranch()
1069 return new(zone()) LCmpMapAndBranch(value, temp); in DoCompareMap()
1075 return DefineAsRegister(new(zone()) LArgumentsLength(value)); in DoArgumentsLength()
1080 return DefineAsRegister(new(zone()) LArgumentsElements); in DoArgumentsElements()
1086 new(zone()) LInstanceOf(UseFixed(instr->left(), r0), in DoInstanceOf()
1095 new(zone()) LInstanceOfKnownGlobal(UseFixed(instr->left(), r0), in DoInstanceOfKnownGlobal()
1104 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); in DoWrapReceiver()
1114 LApplyArguments* result = new(zone()) LApplyArguments(function, in DoApplyArguments()
1125 return new(zone()) LPushArgument(argument); in DoPushArgument()
1132 : DefineAsRegister(new(zone()) LThisFunction); in DoThisFunction()
1137 return instr->HasNoUses() ? NULL : DefineAsRegister(new(zone()) LContext); in DoContext()
1143 return DefineAsRegister(new(zone()) LOuterContext(context)); in DoOuterContext()
1148 return MarkAsCall(new(zone()) LDeclareGlobals, instr); in DoDeclareGlobals()
1154 return DefineAsRegister(new(zone()) LGlobalObject(context)); in DoGlobalObject()
1160 return DefineAsRegister(new(zone()) LGlobalReceiver(global_object)); in DoGlobalReceiver()
1167 return MarkAsCall(DefineFixed(new(zone()) LCallConstantFunction, r0), instr); in DoCallConstantFunction()
1174 LInvokeFunction* result = new(zone()) LInvokeFunction(function); in DoInvokeFunction()
1183 LUnaryMathOperation* result = new(zone()) LUnaryMathOperation(input, NULL); in DoUnaryMathOperation()
1188 LUnaryMathOperation* result = new(zone()) LUnaryMathOperation(input, temp); in DoUnaryMathOperation()
1193 LUnaryMathOperation* result = new(zone()) LUnaryMathOperation(input, temp); in DoUnaryMathOperation()
1215 return MarkAsCall(DefineFixed(new(zone()) LCallKeyed(key), r0), instr); in DoCallKeyed()
1221 return MarkAsCall(DefineFixed(new(zone()) LCallNamed, r0), instr); in DoCallNamed()
1227 return MarkAsCall(DefineFixed(new(zone()) LCallGlobal, r0), instr); in DoCallGlobal()
1233 return MarkAsCall(DefineFixed(new(zone()) LCallKnownGlobal, r0), instr); in DoCallKnownGlobal()
1240 LCallNew* result = new(zone()) LCallNew(constructor); in DoCallNew()
1248 return MarkAsCall(DefineFixed(new(zone()) LCallFunction(function), r0), in DoCallFunction()
1255 return MarkAsCall(DefineFixed(new(zone()) LCallRuntime, r0), instr); in DoCallRuntime()
1281 return DefineAsRegister(new(zone()) LBitI(left, right)); in DoBitwise()
1289 LArithmeticT* result = new(zone()) LArithmeticT(instr->op(), left, right); in DoBitwise()
1299 return DefineAsRegister(new(zone()) LBitNotI(value)); in DoBitNot()
1315 DefineFixed(new(zone()) LDivI(dividend, divisor), r0))); in DoDiv()
1331 mod = new(zone()) LModI(value, UseOrConstant(instr->right())); in DoMod()
1335 mod = new(zone()) LModI(dividend, in DoMod()
1357 LArithmeticD* result = new(zone()) LArithmeticD(Token::MOD, left, right); in DoMod()
1378 LMulI* mul = new(zone()) LMulI(left, right, temp); in DoMul()
1400 LSubI* sub = new(zone()) LSubI(left, right); in DoSub()
1420 LAddI* add = new(zone()) LAddI(left, right); in DoAdd()
1445 LPower* result = new(zone()) LPower(left, right); in DoPower()
1456 LRandom* result = new(zone()) LRandom(global_object); in DoRandom()
1466 LCmpT* result = new(zone()) LCmpT(left, right); in DoCompareGeneric()
1479 return new(zone()) LCmpIDAndBranch(left, right); in DoCompareIDAndBranch()
1486 return new(zone()) LCmpIDAndBranch(left, right); in DoCompareIDAndBranch()
1495 return new(zone()) LCmpObjectEqAndBranch(left, right); in DoCompareObjectEqAndBranch()
1502 return new(zone()) LCmpConstantEqAndBranch(value); in DoCompareConstantEqAndBranch()
1508 return new(zone()) LIsNilAndBranch(UseRegisterAtStart(instr->value())); in DoIsNilAndBranch()
1516 return new(zone()) LIsObjectAndBranch(value, temp); in DoIsObjectAndBranch()
1524 return new(zone()) LIsStringAndBranch(value, temp); in DoIsStringAndBranch()
1530 return new(zone()) LIsSmiAndBranch(Use(instr->value())); in DoIsSmiAndBranch()
1538 return new(zone()) LIsUndetectableAndBranch(value, TempRegister()); in DoIsUndetectableAndBranch()
1549 new(zone()) LStringCompareAndBranch(left, right); in DoStringCompareAndBranch()
1558 return new(zone()) LHasInstanceTypeAndBranch(value); in DoHasInstanceTypeAndBranch()
1567 return DefineAsRegister(new(zone()) LGetCachedArrayIndex(value)); in DoGetCachedArrayIndex()
1574 return new(zone()) LHasCachedArrayIndexAndBranch( in DoHasCachedArrayIndexAndBranch()
1583 return new(zone()) LClassOfTestAndBranch(value, TempRegister()); in DoClassOfTestAndBranch()
1589 return DefineAsRegister(new(zone()) LJSArrayLength(array)); in DoJSArrayLength()
1596 return DefineAsRegister(new(zone()) LFixedArrayBaseLength(array)); in DoFixedArrayBaseLength()
1602 return DefineAsRegister(new(zone()) LElementsKind(object)); in DoElementsKind()
1608 LValueOf* result = new(zone()) LValueOf(object, TempRegister()); in DoValueOf()
1623 return AssignEnvironment(new(zone()) LBoundsCheck(value, length)); in DoBoundsCheck()
1636 return MarkAsCall(new(zone()) LThrow(value), instr); in DoThrow()
1659 LNumberUntagD* res = new(zone()) LNumberUntagD(value); in DoChange()
1667 res = DefineAsRegister(new(zone()) LSmiUntag(value, needs_check)); in DoChange()
1674 res = DefineSameAsFirst(new(zone()) LTaggedToI(value, in DoChange()
1691 LNumberTagD* result = new(zone()) LNumberTagD(value, temp1, temp2); in DoChange()
1699 LDoubleToI* res = new(zone()) LDoubleToI(value, temp1, temp2); in DoChange()
1707 return DefineAsRegister(new(zone()) LSmiTag(value)); in DoChange()
1709 LNumberTagI* result = new(zone()) LNumberTagI(value); in DoChange()
1715 return DefineAsRegister(new(zone()) LInteger32ToDouble(value)); in DoChange()
1725 return AssignEnvironment(new(zone()) LCheckNonSmi(value)); in DoCheckNonSmi()
1731 LInstruction* result = new(zone()) LCheckInstanceType(value); in DoCheckInstanceType()
1739 LInstruction* result = new(zone()) LCheckPrototypeMaps(temp1, temp2); in DoCheckPrototypeMaps()
1746 return AssignEnvironment(new(zone()) LCheckSmi(value)); in DoCheckSmi()
1752 return AssignEnvironment(new(zone()) LCheckFunction(value)); in DoCheckFunction()
1758 LInstruction* result = new(zone()) LCheckMap(value); in DoCheckMap()
1768 return DefineAsRegister(new(zone()) LClampDToUint8(reg, FixedTemp(d11))); in DoClampToUint8()
1770 return DefineAsRegister(new(zone()) LClampIToUint8(reg)); in DoClampToUint8()
1775 LClampTToUint8* result = new(zone()) LClampTToUint8(reg, FixedTemp(d11)); in DoClampToUint8()
1782 return new(zone()) LReturn(UseFixed(instr->value(), r0)); in DoReturn()
1789 return DefineAsRegister(new(zone()) LConstantI); in DoConstant()
1791 return DefineAsRegister(new(zone()) LConstantD); in DoConstant()
1793 return DefineAsRegister(new(zone()) LConstantT); in DoConstant()
1802 LLoadGlobalCell* result = new(zone()) LLoadGlobalCell; in DoLoadGlobalCell()
1811 LLoadGlobalGeneric* result = new(zone()) LLoadGlobalGeneric(global_object); in DoLoadGlobalGeneric()
1821 ? AssignEnvironment(new(zone()) LStoreGlobalCell(value, TempRegister())) in DoStoreGlobalCell()
1822 : new(zone()) LStoreGlobalCell(value, NULL); in DoStoreGlobalCell()
1830 new(zone()) LStoreGlobalGeneric(global_object, value); in DoStoreGlobalGeneric()
1838 DefineAsRegister(new(zone()) LLoadContextSlot(context)); in DoLoadContextSlot()
1853 LInstruction* result = new(zone()) LStoreContextSlot(context, value); in DoStoreContextSlot()
1860 new(zone()) LLoadNamedField(UseRegisterAtStart(instr->object()))); in DoLoadNamedField()
1870 new(zone()) LLoadNamedFieldPolymorphic(obj); in DoLoadNamedFieldPolymorphic()
1875 new(zone()) LLoadNamedFieldPolymorphic(obj); in DoLoadNamedFieldPolymorphic()
1883 LInstruction* result = DefineFixed(new(zone()) LLoadNamedGeneric(object), r0); in DoLoadNamedGeneric()
1891 new(zone()) LLoadFunctionPrototype(UseRegister(instr->function())))); in DoLoadFunctionPrototype()
1897 return DefineAsRegister(new(zone()) LLoadElements(input)); in DoLoadElements()
1904 return DefineAsRegister(new(zone()) LLoadExternalArrayPointer(input)); in DoLoadExternalArrayPointer()
1914 LLoadKeyedFastElement* result = new(zone()) LLoadKeyedFastElement(obj, key); in DoLoadKeyedFastElement()
1927 new(zone()) LLoadKeyedFastDoubleElement(elements, key); in DoLoadKeyedFastDoubleElement()
1946 new(zone()) LLoadKeyedSpecializedArrayElement(external_pointer, key); in DoLoadKeyedSpecializedArrayElement()
1960 DefineFixed(new(zone()) LLoadKeyedGeneric(object, key), r0); in DoLoadKeyedGeneric()
1979 return new(zone()) LStoreKeyedFastElement(obj, key, val); in DoStoreKeyedFastElement()
1993 return new(zone()) LStoreKeyedFastDoubleElement(elements, key, val); in DoStoreKeyedFastDoubleElement()
2019 return new(zone()) LStoreKeyedSpecializedArrayElement(external_pointer, in DoStoreKeyedSpecializedArrayElement()
2034 return MarkAsCall(new(zone()) LStoreKeyedGeneric(obj, key, val), instr); in DoStoreKeyedGeneric()
2045 new(zone()) LTransitionElementsKind(object, new_map_reg, NULL); in DoTransitionElementsKind()
2052 new(zone()) LTransitionElementsKind(object, in DoTransitionElementsKind()
2071 return new(zone()) LStoreNamedField(obj, val); in DoStoreNamedField()
2079 LInstruction* result = new(zone()) LStoreNamedGeneric(obj, val); in DoStoreNamedGeneric()
2087 return MarkAsCall(DefineFixed(new(zone()) LStringAdd(left, right), r0), in DoStringAdd()
2095 LStringCharCodeAt* result = new(zone()) LStringCharCodeAt(string, index); in DoStringCharCodeAt()
2102 LStringCharFromCode* result = new(zone()) LStringCharFromCode(char_code); in DoStringCharFromCode()
2109 return DefineAsRegister(new(zone()) LStringLength(string)); in DoStringLength()
2120 return MarkAsCall(DefineFixed(new(zone()) LFastLiteral, r0), instr); in DoFastLiteral()
2125 return MarkAsCall(DefineFixed(new(zone()) LArrayLiteral, r0), instr); in DoArrayLiteral()
2130 return MarkAsCall(DefineFixed(new(zone()) LObjectLiteral, r0), instr); in DoObjectLiteral()
2135 return MarkAsCall(DefineFixed(new(zone()) LRegExpLiteral, r0), instr); in DoRegExpLiteral()
2140 return MarkAsCall(DefineFixed(new(zone()) LFunctionLiteral, r0), instr); in DoFunctionLiteral()
2147 LDeleteProperty* result = new(zone()) LDeleteProperty(object, key); in DoDeleteProperty()
2155 return AssignEnvironment(new(zone()) LOsrEntry); in DoOsrEntry()
2161 return DefineAsSpilled(new(zone()) LParameter, spill_index); in DoParameter()
2171 return DefineAsSpilled(new(zone()) LUnknownOSRValue, spill_index); in DoUnknownOSRValue()
2177 return MarkAsCall(DefineFixed(new(zone()) LCallStub, r0), instr); in DoCallStub()
2195 new(zone()) LAccessArgumentsAt(arguments, length, index); in DoAccessArgumentsAt()
2202 LToFastProperties* result = new(zone()) LToFastProperties(object); in DoToFastProperties()
2208 LTypeof* result = new(zone()) LTypeof(UseFixed(instr->value(), r0)); in DoTypeof()
2214 return new(zone()) LTypeofIsAndBranch(UseTempRegister(instr->value())); in DoTypeofIsAndBranch()
2220 return new(zone()) LIsConstructCallAndBranch(TempRegister()); in DoIsConstructCallAndBranch()
2243 LInstruction* result = new(zone()) LLazyBailout; in DoSimulate()
2257 return MarkAsCall(new(zone()) LStackCheck, instr); in DoStackCheck()
2260 return AssignEnvironment(AssignPointerMap(new(zone()) LStackCheck)); in DoStackCheck()
2294 LIn* result = new(zone()) LIn(key, object); in DoIn()
2301 LForInPrepareMap* result = new(zone()) LForInPrepareMap(object); in DoForInPrepareMap()
2309 new(zone()) LForInCacheArray(map))); in DoForInCacheArray()
2316 return AssignEnvironment(new(zone()) LCheckMapValue(value, map)); in DoCheckMapValue()
2323 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); in DoLoadFieldByIndex()