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()
1068 return new(zone()) LCmpMapAndBranch(value, temp); in DoCompareMap()
1074 new(zone()) LArgumentsLength(UseRegister(length->value()))); in DoArgumentsLength()
1079 return DefineAsRegister(new(zone()) LArgumentsElements); in DoArgumentsElements()
1085 new(zone()) LInstanceOf(UseFixed(instr->left(), a0), in DoInstanceOf()
1094 new(zone()) LInstanceOfKnownGlobal(UseFixed(instr->left(), a0), in DoInstanceOfKnownGlobal()
1103 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); in DoWrapReceiver()
1113 LApplyArguments* result = new(zone()) LApplyArguments(function, in DoApplyArguments()
1124 return new(zone()) LPushArgument(argument); in DoPushArgument()
1131 : DefineAsRegister(new(zone()) LThisFunction); in DoThisFunction()
1136 return instr->HasNoUses() ? NULL : DefineAsRegister(new(zone()) LContext); in DoContext()
1142 return DefineAsRegister(new(zone()) LOuterContext(context)); in DoOuterContext()
1147 return MarkAsCall(new(zone()) LDeclareGlobals, instr); in DoDeclareGlobals()
1153 return DefineAsRegister(new(zone()) LGlobalObject(context)); in DoGlobalObject()
1159 return DefineAsRegister(new(zone()) LGlobalReceiver(global_object)); in DoGlobalReceiver()
1166 return MarkAsCall(DefineFixed(new(zone()) LCallConstantFunction, v0), instr); in DoCallConstantFunction()
1173 LInvokeFunction* result = new(zone()) LInvokeFunction(function); in DoInvokeFunction()
1182 LUnaryMathOperation* result = new(zone()) LUnaryMathOperation(input, NULL); in DoUnaryMathOperation()
1189 LUnaryMathOperation* result = new(zone()) LUnaryMathOperation(input, temp); in DoUnaryMathOperation()
1194 LUnaryMathOperation* result = new(zone()) LUnaryMathOperation(input, temp); in DoUnaryMathOperation()
1216 return MarkAsCall(DefineFixed(new(zone()) LCallKeyed(key), v0), instr); in DoCallKeyed()
1222 return MarkAsCall(DefineFixed(new(zone()) LCallNamed, v0), instr); in DoCallNamed()
1228 return MarkAsCall(DefineFixed(new(zone()) LCallGlobal, v0), instr); in DoCallGlobal()
1234 return MarkAsCall(DefineFixed(new(zone()) LCallKnownGlobal, v0), instr); in DoCallKnownGlobal()
1241 LCallNew* result = new(zone()) LCallNew(constructor); in DoCallNew()
1249 return MarkAsCall(DefineFixed(new(zone()) LCallFunction(function), v0), in DoCallFunction()
1256 return MarkAsCall(DefineFixed(new(zone()) LCallRuntime, v0), instr); in DoCallRuntime()
1282 return DefineAsRegister(new(zone()) LBitI(left, right)); in DoBitwise()
1290 LArithmeticT* result = new(zone()) LArithmeticT(instr->op(), left, right); in DoBitwise()
1300 return DefineAsRegister(new(zone()) LBitNotI(value)); in DoBitNot()
1316 DefineFixed(new(zone()) LDivI(dividend, divisor), v0))); in DoDiv()
1332 mod = new(zone()) LModI(value, UseOrConstant(instr->right())); in DoMod()
1336 mod = new(zone()) LModI(dividend, in DoMod()
1358 LArithmeticD* result = new(zone()) LArithmeticD(Token::MOD, left, right); in DoMod()
1379 LMulI* mul = new(zone()) LMulI(left, right, temp); in DoMul()
1401 LSubI* sub = new(zone()) LSubI(left, right); in DoSub()
1421 LAddI* add = new(zone()) LAddI(left, right); in DoAdd()
1446 LPower* result = new(zone()) LPower(left, right); in DoPower()
1457 LRandom* result = new(zone()) LRandom(global_object); in DoRandom()
1467 LCmpT* result = new(zone()) LCmpT(left, right); in DoCompareGeneric()
1480 return new(zone()) LCmpIDAndBranch(left, right); in DoCompareIDAndBranch()
1487 return new(zone()) LCmpIDAndBranch(left, right); in DoCompareIDAndBranch()
1496 return new(zone()) LCmpObjectEqAndBranch(left, right); in DoCompareObjectEqAndBranch()
1502 return new(zone()) LCmpConstantEqAndBranch( in DoCompareConstantEqAndBranch()
1509 return new(zone()) LIsNilAndBranch(UseRegisterAtStart(instr->value())); in DoIsNilAndBranch()
1516 return new(zone()) LIsObjectAndBranch(UseRegisterAtStart(instr->value()), in DoIsObjectAndBranch()
1524 return new(zone()) LIsStringAndBranch(UseRegisterAtStart(instr->value()), in DoIsStringAndBranch()
1531 return new(zone()) LIsSmiAndBranch(Use(instr->value())); in DoIsSmiAndBranch()
1538 return new(zone()) LIsUndetectableAndBranch( in DoIsUndetectableAndBranch()
1550 new(zone()) LStringCompareAndBranch(left, right); in DoStringCompareAndBranch()
1559 return new(zone()) LHasInstanceTypeAndBranch(value); in DoHasInstanceTypeAndBranch()
1568 return DefineAsRegister(new(zone()) LGetCachedArrayIndex(value)); in DoGetCachedArrayIndex()
1575 return new(zone()) LHasCachedArrayIndexAndBranch( in DoHasCachedArrayIndexAndBranch()
1583 return new(zone()) LClassOfTestAndBranch(UseRegister(instr->value()), in DoClassOfTestAndBranch()
1590 return DefineAsRegister(new(zone()) LJSArrayLength(array)); in DoJSArrayLength()
1597 return DefineAsRegister(new(zone()) LFixedArrayBaseLength(array)); in DoFixedArrayBaseLength()
1603 return DefineAsRegister(new(zone()) LElementsKind(object)); in DoElementsKind()
1609 LValueOf* result = new(zone()) LValueOf(object, TempRegister()); in DoValueOf()
1624 return AssignEnvironment(new(zone()) LBoundsCheck(value, length)); in DoBoundsCheck()
1637 return MarkAsCall(new(zone()) LThrow(value), instr); in DoThrow()
1660 LNumberUntagD* res = new(zone()) LNumberUntagD(value); in DoChange()
1668 res = DefineAsRegister(new(zone()) LSmiUntag(value, needs_check)); in DoChange()
1675 res = DefineSameAsFirst(new(zone()) LTaggedToI(value, in DoChange()
1692 LNumberTagD* result = new(zone()) LNumberTagD(value, temp1, temp2); in DoChange()
1700 LDoubleToI* res = new(zone()) LDoubleToI(value, temp1, temp2); in DoChange()
1708 return DefineAsRegister(new(zone()) LSmiTag(value)); in DoChange()
1710 LNumberTagI* result = new(zone()) LNumberTagI(value); in DoChange()
1716 return DefineAsRegister(new(zone()) LInteger32ToDouble(value)); in DoChange()
1726 return AssignEnvironment(new(zone()) LCheckNonSmi(value)); in DoCheckNonSmi()
1732 LInstruction* result = new(zone()) LCheckInstanceType(value); in DoCheckInstanceType()
1740 LInstruction* result = new(zone()) LCheckPrototypeMaps(temp1, temp2); in DoCheckPrototypeMaps()
1747 return AssignEnvironment(new(zone()) LCheckSmi(value)); in DoCheckSmi()
1753 return AssignEnvironment(new(zone()) LCheckFunction(value)); in DoCheckFunction()
1759 LInstruction* result = new(zone()) LCheckMap(value); in DoCheckMap()
1770 return DefineAsRegister(new(zone()) LClampDToUint8(reg, FixedTemp(f22))); in DoClampToUint8()
1772 return DefineAsRegister(new(zone()) LClampIToUint8(reg)); in DoClampToUint8()
1777 LClampTToUint8* result = new(zone()) LClampTToUint8(reg, FixedTemp(f22)); in DoClampToUint8()
1784 return new(zone()) LReturn(UseFixed(instr->value(), v0)); in DoReturn()
1791 return DefineAsRegister(new(zone()) LConstantI); in DoConstant()
1793 return DefineAsRegister(new(zone()) LConstantD); in DoConstant()
1795 return DefineAsRegister(new(zone()) LConstantT); in DoConstant()
1804 LLoadGlobalCell* result = new(zone()) LLoadGlobalCell; in DoLoadGlobalCell()
1813 LLoadGlobalGeneric* result = new(zone()) LLoadGlobalGeneric(global_object); in DoLoadGlobalGeneric()
1823 ? AssignEnvironment(new(zone()) LStoreGlobalCell(value, TempRegister())) in DoStoreGlobalCell()
1824 : new(zone()) LStoreGlobalCell(value, NULL); in DoStoreGlobalCell()
1832 new(zone()) LStoreGlobalGeneric(global_object, value); in DoStoreGlobalGeneric()
1840 DefineAsRegister(new(zone()) LLoadContextSlot(context)); in DoLoadContextSlot()
1855 LInstruction* result = new(zone()) LStoreContextSlot(context, value); in DoStoreContextSlot()
1862 new(zone()) LLoadNamedField(UseRegisterAtStart(instr->object()))); in DoLoadNamedField()
1872 new(zone()) LLoadNamedFieldPolymorphic(obj); in DoLoadNamedFieldPolymorphic()
1877 new(zone()) LLoadNamedFieldPolymorphic(obj); in DoLoadNamedFieldPolymorphic()
1885 LInstruction* result = DefineFixed(new(zone()) LLoadNamedGeneric(object), v0); in DoLoadNamedGeneric()
1893 new(zone()) LLoadFunctionPrototype(UseRegister(instr->function())))); in DoLoadFunctionPrototype()
1899 return DefineAsRegister(new(zone()) LLoadElements(input)); in DoLoadElements()
1906 return DefineAsRegister(new(zone()) LLoadExternalArrayPointer(input)); in DoLoadExternalArrayPointer()
1916 LLoadKeyedFastElement* result = new(zone()) LLoadKeyedFastElement(obj, key); in DoLoadKeyedFastElement()
1929 new(zone()) LLoadKeyedFastDoubleElement(elements, key); in DoLoadKeyedFastDoubleElement()
1949 new(zone()) LLoadKeyedSpecializedArrayElement(external_pointer, key); in DoLoadKeyedSpecializedArrayElement()
1963 DefineFixed(new(zone()) LLoadKeyedGeneric(object, key), v0); in DoLoadKeyedGeneric()
1982 return new(zone()) LStoreKeyedFastElement(obj, key, val); in DoStoreKeyedFastElement()
1996 return new(zone()) LStoreKeyedFastDoubleElement(elements, key, val); in DoStoreKeyedFastDoubleElement()
2023 return new(zone()) LStoreKeyedSpecializedArrayElement(external_pointer, in DoStoreKeyedSpecializedArrayElement()
2038 return MarkAsCall(new(zone()) LStoreKeyedGeneric(obj, key, val), instr); in DoStoreKeyedGeneric()
2049 new(zone()) LTransitionElementsKind(object, new_map_reg, NULL); in DoTransitionElementsKind()
2056 new(zone()) LTransitionElementsKind(object, in DoTransitionElementsKind()
2075 return new(zone()) LStoreNamedField(obj, val); in DoStoreNamedField()
2083 LInstruction* result = new(zone()) LStoreNamedGeneric(obj, val); in DoStoreNamedGeneric()
2091 return MarkAsCall(DefineFixed(new(zone()) LStringAdd(left, right), v0), in DoStringAdd()
2099 LStringCharCodeAt* result = new(zone()) LStringCharCodeAt(string, index); in DoStringCharCodeAt()
2106 LStringCharFromCode* result = new(zone()) LStringCharFromCode(char_code); in DoStringCharFromCode()
2113 return DefineAsRegister(new(zone()) LStringLength(string)); in DoStringLength()
2118 LAllocateObject* result = new(zone()) LAllocateObject( in DoAllocateObject()
2125 return MarkAsCall(DefineFixed(new(zone()) LFastLiteral, v0), instr); in DoFastLiteral()
2130 return MarkAsCall(DefineFixed(new(zone()) LArrayLiteral, v0), instr); in DoArrayLiteral()
2135 return MarkAsCall(DefineFixed(new(zone()) LObjectLiteral, v0), instr); in DoObjectLiteral()
2140 return MarkAsCall(DefineFixed(new(zone()) LRegExpLiteral, v0), instr); in DoRegExpLiteral()
2145 return MarkAsCall(DefineFixed(new(zone()) LFunctionLiteral, v0), instr); in DoFunctionLiteral()
2152 LDeleteProperty* result = new(zone()) LDeleteProperty(object, key); in DoDeleteProperty()
2160 return AssignEnvironment(new(zone()) LOsrEntry); in DoOsrEntry()
2166 return DefineAsSpilled(new(zone()) LParameter, spill_index); in DoParameter()
2176 return DefineAsSpilled(new(zone()) LUnknownOSRValue, spill_index); in DoUnknownOSRValue()
2182 return MarkAsCall(DefineFixed(new(zone()) LCallStub, v0), instr); in DoCallStub()
2200 new(zone()) LAccessArgumentsAt(arguments, length, index); in DoAccessArgumentsAt()
2207 LToFastProperties* result = new(zone()) LToFastProperties(object); in DoToFastProperties()
2213 LTypeof* result = new(zone()) LTypeof(UseFixed(instr->value(), a0)); in DoTypeof()
2219 return new(zone()) LTypeofIsAndBranch(UseTempRegister(instr->value())); in DoTypeofIsAndBranch()
2225 return new(zone()) LIsConstructCallAndBranch(TempRegister()); in DoIsConstructCallAndBranch()
2248 LInstruction* result = new(zone()) LLazyBailout; in DoSimulate()
2262 return MarkAsCall(new(zone()) LStackCheck, instr); in DoStackCheck()
2265 return AssignEnvironment(AssignPointerMap(new(zone()) LStackCheck)); in DoStackCheck()
2299 LIn* result = new(zone()) LIn(key, object); in DoIn()
2306 LForInPrepareMap* result = new(zone()) LForInPrepareMap(object); in DoForInPrepareMap()
2314 new(zone()) LForInCacheArray(map))); in DoForInCacheArray()
2321 return AssignEnvironment(new(zone()) LCheckMapValue(value, map)); in DoCheckMapValue()
2328 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); in DoLoadFieldByIndex()