Lines Matching defs:zone

79   loop_information_ = new(zone()) HLoopInformation(this);
111 HBlockEntry* entry = new(zone()) HBlockEntry();
123 if (has_uses == HDeoptimize::kNoUses) return new(zone()) HDeoptimize(0);
126 HDeoptimize* instr = new(zone()) HDeoptimize(environment->length());
145 HSimulate* instr = new(zone()) HSimulate(ast_id, pop_count);
170 AddInstruction(new(zone()) HLeaveInlined);
174 HGoto* instr = new(zone()) HGoto(block);
184 AddInstruction(new(zone()) HLeaveInlined);
188 HGoto* instr = new(zone()) HGoto(target);
566 HConstant* constant = new(zone()) HConstant(Handle<Object>(value),
609 zone_(info->isolate()->zone()),
676 new(zone()) HEnvironment(NULL, info->scope(), info->closure());
725 HBasicBlock* result = new(zone()) HBasicBlock(this);
747 BitVector visited(blocks_.length(), zone());
958 BitVector in_worklist(GetMaximumValueID(), zone());
983 graph_(graph), zone_(graph->isolate()->zone()), changed_ranges_(16) { }
1155 HValueMap::HValueMap(Zone* zone, const HValueMap* other)
1160 array_(zone->NewArray<HValueMapListElement>(other->array_size_)),
1161 lists_(zone->NewArray<HValueMapListElement>(other->lists_size_)),
1369 SparseSet(Zone* zone, int capacity)
1372 dense_(zone->NewArray<int>(capacity)),
1373 sparse_(zone->NewArray<int>(capacity)) {
1414 visited_on_paths_(graph->zone(), graph->blocks()->length()) {
1443 Zone* zone() { return graph_->zone(); }
1467 HValueMap* map = new(zone()) HValueMap();
1707 HValueMap* successor_map = (i == length - 1) ? map : map->Copy(zone());
1731 in_worklist_(graph->GetMaximumValueID(), graph->zone()) { }
1742 Zone* zone() { return graph_->zone(); }
1860 BitVector* connected_set = new(zone()) BitVector(phi_count, graph_->zone());
2032 new_value = new(zone()) HChange(value, to,
2145 BitVector visited(GetMaximumValueID(), zone());
2359 HBranch* test = new(zone()) HBranch(value, empty_true, empty_false, expected);
2425 Push(AddInstruction(new(zone()) HPushArgument(value)));
2445 graph_ = new(zone()) HGraph(info());
2494 new(zone()) HStackCheck(context, HStackCheck::kFunctionEntry));
2500 HReturn* instr = new(zone()) HReturn(graph()->GetConstantUndefined());
2628 AddInstruction(new(zone()) HPushArgument(arguments.RemoveLast()));
2635 HConstant* undefined_constant = new(zone()) HConstant(
2640 HArgumentsObject* object = new(zone()) HArgumentsObject;
2649 HInstruction* parameter = AddInstruction(new(zone()) HParameter(i));
2654 HInstruction* context = AddInstruction(new(zone()) HContext);
2850 current_block()->FinishExit(new(zone()) HReturn(result));
2868 new(zone()) HHasInstanceTypeAndBranch(return_value,
2963 string_check = new(zone()) HIsStringAndBranch(tag_value);
3005 new(zone()) HCompareIDAndBranch(tag_value,
3011 compare = new(zone()) HStringCompareAndBranch(context, tag_value,
3113 HBranch* test = new(zone()) HBranch(true_value, non_osr_entry, osr_entry);
3124 new(zone()) ZoneList<HUnknownOSRValue*>(length);
3127 HUnknownOSRValue* osr_value = new(zone()) HUnknownOSRValue;
3136 HUnknownOSRValue* osr_value = new(zone()) HUnknownOSRValue;
3146 AddInstruction(new(zone()) HOsrEntry(osr_entry_id));
3147 HContext* context = new(zone()) HContext;
3164 new(zone()) HStackCheck(context, HStackCheck::kBackwardsBranch);
3334 HInstruction* map = AddInstruction(new(zone()) HForInPrepareMap(
3339 new(zone()) HForInCacheArray(
3345 new(zone()) HFixedArrayBaseLength(array));
3347 HInstruction* start_index = AddInstruction(new(zone()) HConstant(
3356 new(zone()) HForInCacheArray(
3374 new(zone()) HCompareIDAndBranch(index, limit, Token::LT);
3390 new(zone()) HLoadKeyedFastElement(
3397 AddInstruction(new(zone()) HCheckMapValue(
3413 HInstruction* new_index = new(zone()) HAdd(environment()->LookupContext(),
3489 new(zone()) HFunctionLiteral(context, shared_info, expr->pretenure());
3564 HInstruction* context_instruction = new(zone()) HOuterContext(context);
3588 new(zone()) HConstant(constant_value, Representation::Tagged());
3605 new(zone()) HLoadGlobalCell(cell, lookup.GetPropertyDetails());
3609 HGlobalObject* global_object = new(zone()) HGlobalObject(context);
3612 new(zone()) HLoadGlobalGeneric(context,
3635 HLoadContextSlot* instr = new(zone()) HLoadContextSlot(context, variable);
3650 new(zone()) HConstant(expr->handle(), Representation::Tagged());
3661 HRegExpLiteral* instr = new(zone()) HRegExpLiteral(context,
3748 literal = new(zone()) HFastLiteral(context,
3754 literal = new(zone()) HObjectLiteral(context,
3808 HToFastProperties* result = new(zone()) HToFastProperties(Pop());
3853 literal = new(zone()) HFastLiteral(context,
3859 literal = new(zone()) HArrayLiteral(context,
3882 elements = new(zone()) HLoadElements(literal);
3886 new(zone()) HConstant(Handle<Object>(Smi::FromInt(i)),
3892 AddInstruction(new(zone()) HCheckSmi(value));
3895 AddInstruction(new(zone()) HStoreKeyedFastElement(
3902 AddInstruction(new(zone()) HStoreKeyedFastDoubleElement(elements,
3949 AddInstruction(new(zone()) HCheckNonSmi(object));
3950 AddInstruction(new(zone()) HCheckMap(object, type, NULL,
3965 new(zone()) HStoreNamedField(object, name, value, is_in_object, offset);
3981 return new(zone()) HStoreNamedGeneric(
4046 AddInstruction(new(zone()) HCheckNonSmi(object)); // Only needed once.
4053 new(zone()) HCompareMap(object, map, if_true, if_false);
4177 new(zone()) HStoreGlobalCell(value, cell, lookup.GetPropertyDetails());
4183 HGlobalObject* global_object = new(zone()) HGlobalObject(context);
4186 new(zone()) HStoreGlobalGeneric(context,
4268 new(zone()) HStoreContextSlot(context, var->index(), mode, Top());
4469 HStoreContextSlot* instr = new(zone()) HStoreContextSlot(
4499 HThrow* instr = new(zone()) HThrow(context, value);
4503 current_block()->FinishExit(new(zone()) HAbnormalExit);
4514 AddInstruction(new(zone()) HCheckNonSmi(object));
4515 AddInstruction(new(zone()) HCheckMap(object, type, NULL,
4524 return new(zone()) HLoadNamedField(object, true, offset);
4528 return new(zone()) HLoadNamedField(object, false, offset);
4536 AddInstruction(new(zone()) HSoftDeoptimize);
4542 return new(zone()) HLoadNamedGeneric(context, obj, name);
4559 AddInstruction(new(zone()) HCheckNonSmi(obj));
4560 AddInstruction(new(zone()) HCheckMap(obj, map, NULL,
4563 return new(zone()) HConstant(function, Representation::Tagged());
4573 return new(zone()) HLoadKeyedGeneric(context, object, key);
4587 val = AddInstruction(new(zone()) HClampToUint8(val));
4597 val = AddInstruction(new(zone()) HChange(
4616 return new(zone()) HStoreKeyedSpecializedArrayElement(
4620 return new(zone()) HLoadKeyedSpecializedArrayElement(
4635 return new(zone()) HStoreKeyedFastDoubleElement(
4639 AddInstruction(new(zone()) HCheckSmi(val));
4642 return new(zone()) HStoreKeyedFastElement(
4651 return new(zone()) HLoadKeyedFastDoubleElement(elements, checked_key);
4653 return new(zone()) HLoadKeyedFastElement(elements, checked_key);
4663 HInstruction* mapcheck = AddInstruction(new(zone()) HCheckMap(object, map));
4666 HInstruction* elements = AddInstruction(new(zone()) HLoadElements(object));
4668 AddInstruction(new(zone()) HCheckMap(
4674 length = AddInstruction(new(zone()) HFixedArrayBaseLength(elements));
4675 checked_key = AddInstruction(new(zone()) HBoundsCheck(key, length));
4677 new(zone()) HLoadExternalArrayPointer(elements);
4686 length = AddInstruction(new(zone()) HJSArrayLength(object, mapcheck));
4688 length = AddInstruction(new(zone()) HFixedArrayBaseLength(elements));
4690 checked_key = AddInstruction(new(zone()) HBoundsCheck(key, length));
4705 AddInstruction(new(zone()) HCheckNonSmi(object));
4741 AddInstruction(new(zone()) HTransitionElementsKind(
4773 AddInstruction(new(zone()) HElementsKind(object));
4775 HInstruction* elements = AddInstruction(new(zone()) HLoadElements(object));
4798 AddInstruction(new(zone()) HFixedArrayBaseLength(elements));
4799 checked_key = AddInstruction(new(zone()) HBoundsCheck(key, length));
4800 external_elements = new(zone()) HLoadExternalArrayPointer(elements);
4806 elements_kind_branch = new(zone()) HCompareConstantEqAndBranch(
4818 AddInstruction(new(zone()) HCheckMap(
4833 new(zone()) HHasInstanceTypeAndBranch(object, JS_ARRAY_TYPE);
4840 length = AddInstruction(new(zone()) HJSArrayLength(object, typecheck));
4841 checked_key = AddInstruction(new(zone()) HBoundsCheck(key, length));
4855 length = AddInstruction(new(zone()) HFixedArrayBaseLength(elements));
4856 checked_key = AddInstruction(new(zone()) HBoundsCheck(key, length));
4903 AddInstruction(new(zone()) HCheckNonSmi(obj));
4928 return new(zone()) HStoreKeyedGeneric(
4955 HInstruction* elements = AddInstruction(new(zone()) HArgumentsElements);
4956 result = new(zone()) HArgumentsLength(elements);
4963 HInstruction* elements = AddInstruction(new(zone()) HArgumentsElements);
4965 new(zone()) HArgumentsLength(elements));
4967 AddInstruction(new(zone()) HBoundsCheck(key, length));
4968 result = new(zone()) HAccessArgumentsAt(elements, length, checked_key);
4988 AddInstruction(new(zone()) HCheckNonSmi(array));
4991 instr = new(zone()) HJSArrayLength(array, mapcheck);
4995 AddInstruction(new(zone()) HCheckNonSmi(string));
4997 instr = new(zone()) HStringLength(string);
5006 instr = new(zone()) HStringCharFromCode(context, char_code);
5010 AddInstruction(new(zone()) HCheckNonSmi(function));
5011 instr = new(zone()) HLoadFunctionPrototype(function);
5021 AddInstruction(new(zone()) HCheckNonSmi(obj));
5023 instr = new(zone()) HLoadNamedFieldPolymorphic(context, obj, types, name);
5063 AddInstruction(new(zone()) HCheckNonSmi(receiver));
5064 AddInstruction(new(zone()) HCheckMap(receiver, receiver_map, NULL,
5068 AddInstruction(new(zone()) HCheckPrototypeMaps(
5090 AddInstruction(new(zone()) HCheckNonSmi(receiver));
5097 new(zone()) HCompareMap(receiver, map, if_true, if_false);
5112 new(zone()) HCallConstantFunction(expr->target(), argument_count);
5131 HCallNamed* call = new(zone()) HCallNamed(context, name, argument_count);
5378 AddInstruction(new(zone()) HEnterInlined(target,
5511 new(zone()) HUnaryMathOperation(context, argument, id);
5543 AddInstruction(new(zone()) HCheckPrototypeMaps(
5554 new(zone()) HStringCharFromCode(context, char_code);
5573 new(zone()) HUnaryMathOperation(context, argument, id);
5592 new(zone()) HUnaryMathOperation(context, left, kMathPowHalf);
5595 new(zone()) HConstant(Handle<Object>(Smi::FromInt(1)),
5599 new(zone()) HUnaryMathOperation(context, left, kMathPowHalf);
5604 result = new(zone()) HDiv(context, double_one, square_root);
5606 result = new(zone()) HMul(context, left, left);
5611 result = new(zone()) HMul(context, left, left);
5615 result = new(zone()) HPower(left, right);
5626 HGlobalObject* global_object = new(zone()) HGlobalObject(context);
5628 HRandom* result = new(zone()) HRandom(global_object);
5648 HChange* left_convert = new(zone()) HChange(
5657 HChange* right_convert = new(zone()) HChange(
5674 new(zone()) HCompareIDAndBranch(left_operand, right_operand, op);
5692 HCompareIDAndBranch* compare_nan = new(zone()) HCompareIDAndBranch(
5760 HInstruction* elements = AddInstruction(new(zone()) HArgumentsElements);
5762 AddInstruction(new(zone()) HArgumentsLength(elements));
5764 AddInstruction(new(zone()) HWrapReceiver(receiver, function));
5766 new(zone()) HApplyArguments(function,
5779 AddInstruction(new(zone()) HWrapReceiver(receiver, function));
5780 PushAndAdd(new(zone()) HPushArgument(wrapped_receiver));
5786 PushAndAdd(new(zone()) HPushArgument(arguments_env->Lookup(i)));
5789 HInvokeFunction* call = new(zone()) HInvokeFunction(
5825 call = new(zone()) HCallKeyed(context, key, argument_count);
5868 new(zone()) HCallNamed(context, name, argument_count));
5874 new(zone()) HCallConstantFunction(expr->target(),
5885 new(zone()) HCallNamed(context, name, argument_count));
5914 HGlobalObject* global_object = new(zone()) HGlobalObject(context);
5920 AddInstruction(new(zone()) HCheckFunction(function, expr->target()));
5924 new(zone()) HGlobalReceiver(global_object);
5941 call = PreProcessCall(new(zone()) HCallKnownGlobal(expr->target(),
5945 HGlobalObject* receiver = new(zone()) HGlobalObject(context);
5947 PushAndAdd(new(zone()) HPushArgument(receiver));
5950 call = new(zone()) HCallGlobal(context, var->name(), argument_count);
5960 HGlobalObject* global = new(zone()) HGlobalObject(context);
5961 HGlobalReceiver* receiver = new(zone()) HGlobalReceiver(global);
5965 AddInstruction(new(zone()) HCheckFunction(function, expr->target()));
5979 call = PreProcessCall(new(zone()) HInvokeFunction(context,
5989 HGlobalObject* global_object = new(zone()) HGlobalObject(context);
5990 HGlobalReceiver* receiver = new(zone()) HGlobalReceiver(global_object);
5993 PushAndAdd(new(zone()) HPushArgument(receiver));
5996 call = new(zone()) HCallFunction(context, function, argument_count);
6031 new(zone()) HCheckFunction(function, constructor));
6040 HInstruction* receiver = new(zone()) HAllocateObject(context, constructor);
6057 new(zone()) HCallNew(context, function, argument_count));
6067 new(zone()) HCallNew(context, constructor, argument_count);
6121 new(zone()) HCallRuntime(context, name, function, argument_count);
6154 HDeleteProperty* instr = new(zone()) HDeleteProperty(context, obj, key);
6190 HInstruction* instr = new(zone()) HTypeof(context, value);
6200 new(zone()) HMul(context, value, graph_->GetConstant1());
6210 new(zone()) HMul(context, value, graph_->GetConstantMinus1());
6213 AddInstruction(new(zone()) HSoftDeoptimize);
6229 AddInstruction(new(zone()) HSoftDeoptimize);
6232 HInstruction* instr = new(zone()) HBitNot(value);
6295 HInstruction* number_input = new(zone()) HForceRepresentation(Pop(), rep);
6307 HInstruction* instr = new(zone()) HAdd(context, Top(), delta);
6381 new(zone()) HStoreContextSlot(context, var->index(), mode, after);
6474 AddInstruction(new(zone()) HCheckNonSmi(string));
6476 HStringLength* length = new(zone()) HStringLength(string);
6479 AddInstruction(new(zone()) HBoundsCheck(index, length));
6480 return new(zone()) HStringCharCodeAt(context, string, checked_index);
6490 AddInstruction(new(zone()) HSoftDeoptimize);
6498 AddInstruction(new(zone()) HCheckNonSmi(left));
6500 AddInstruction(new(zone()) HCheckNonSmi(right));
6502 instr = new(zone()) HStringAdd(context, left, right);
6504 instr = HAdd::NewHAdd(zone(), context, left, right);
6508 instr = HSub::NewHSub(zone(), context, left, right);
6511 instr = HMul::NewHMul(zone(), context, left, right);
6514 instr = HMod::NewHMod(zone(), context, left, right);
6517 instr = HDiv::NewHDiv(zone(), context, left, right);
6522 instr = HBitwise::NewHBitwise(zone(), expr->op(), context, left, right);
6525 instr = HSar::NewHSar(zone(), context, left, right);
6528 instr = HShr::NewHShr(zone(), context, left, right);
6531 instr = HShl::NewHShl(zone(), context, left, right);
6628 ? new(zone()) HBranch(Top(), eval_right, empty_block, expected)
6629 : new(zone()) HBranch(Top(), empty_block, eval_right, expected);
6729 HTypeofIsAndBranch* instr = new(zone()) HTypeofIsAndBranch(value, check);
6808 new(zone()) HClassOfTestAndBranch(value, rhs);
6817 AddInstruction(new(zone()) HSoftDeoptimize);
6845 new(zone()) HCompareObjectEqAndBranch(left, right);
6879 HInstanceOf* result = new(zone()) HInstanceOf(context, left, right);
6883 AddInstruction(new(zone()) HCheckFunction(right, target));
6885 new(zone()) HInstanceOfKnownGlobal(context, left, target);
6890 HIn* result = new(zone()) HIn(context, left, right);
6900 AddInstruction(new(zone()) HCheckNonSmi(left));
6901 AddInstruction(new(zone()) HCheckMap(left, map, NULL,
6903 AddInstruction(new(zone()) HCheckNonSmi(right));
6904 AddInstruction(new(zone()) HCheckMap(right, map, NULL,
6907 new(zone()) HCompareObjectEqAndBranch(left, right);
6911 AddInstruction(new(zone()) HCheckNonSmi(left));
6913 AddInstruction(new(zone()) HCheckNonSmi(right));
6916 new(zone()) HCompareObjectEqAndBranch(left, right);
6926 AddInstruction(new(zone()) HCheckNonSmi(left));
6928 AddInstruction(new(zone()) HCheckNonSmi(right));
6931 new(zone()) HCompareObjectEqAndBranch(left, right);
6938 new(zone()) HCompareGeneric(context, left, right, op);
6943 new(zone()) HCompareIDAndBranch(left, right, op);
6960 HIsNilAndBranch* instr = new(zone()) HIsNilAndBranch(value, kind, nil);
6970 HThisFunction* self = new(zone()) HThisFunction(
7022 new(zone()) HDeclareGlobals(environment()->LookupContext(),
7120 HIsSmiAndBranch* result = new(zone()) HIsSmiAndBranch(value);
7130 new(zone()) HHasInstanceTypeAndBranch(value,
7142 new(zone()) HHasInstanceTypeAndBranch(value, JS_FUNCTION_TYPE);
7152 new(zone()) HHasCachedArrayIndexAndBranch(value);
7162 new(zone()) HHasInstanceTypeAndBranch(value, JS_ARRAY_TYPE);
7172 new(zone()) HHasInstanceTypeAndBranch(value, JS_REGEXP_TYPE);
7181 HIsObjectAndBranch* result = new(zone()) HIsObjectAndBranch(value);
7196 new(zone()) HIsUndetectableAndBranch(value);
7218 return ast_context()->ReturnControl(new(zone()) HIsConstructCallAndBranch,
7231 HInstruction* elements = AddInstruction(new(zone()) HArgumentsElements);
7232 HArgumentsLength* result = new(zone()) HArgumentsLength(elements);
7245 HInstruction* elements = AddInstruction(new(zone()) HArgumentsElements);
7246 HInstruction* length = AddInstruction(new(zone()) HArgumentsLength(elements));
7248 new(zone()) HAccessArgumentsAt(elements, length, index);
7265 HValueOf* result = new(zone()) HValueOf(value);
7276 HDateField* result = new(zone()) HDateField(date, index);
7288 HIsSmiAndBranch* smicheck = new(zone()) HIsSmiAndBranch(object);
7300 new(zone()) HHasInstanceTypeAndBranch(object, JS_VALUE_TYPE);
7343 new(zone()) HStringCharFromCode(context, char_code);
7359 new(zone()) HStringCharFromCode(context, char_code);
7372 new(zone()) HCompareObjectEqAndBranch(left, right);
7386 HGlobalObject* global_object = new(zone()) HGlobalObject(context);
7388 HRandom* result = new(zone()) HRandom(global_object);
7398 HCallStub* result = new(zone()) HCallStub(context, CodeStub::StringAdd, 2);
7409 HCallStub* result = new(zone()) HCallStub(context, CodeStub::SubString, 3);
7421 new(zone()) HCallStub(context, CodeStub::StringCompare, 2);
7432 HCallStub* result = new(zone()) HCallStub(context, CodeStub::RegExpExec, 4);
7444 new(zone()) HCallStub(context, CodeStub::RegExpConstructResult, 3);
7462 new(zone()) HCallStub(context, CodeStub::NumberToString, 1);
7484 new(zone()) HHasInstanceTypeAndBranch(function, JS_FUNCTION_TYPE);
7494 new(zone()) HInvokeFunction(context, function, arg_count));
7501 new(zone()) HCallFunction(context, function, arg_count));
7519 HPower* result = new(zone()) HPower(left, right);
7529 new(zone()) HCallStub(context, CodeStub::TranscendentalCache, 1);
7541 new(zone()) HCallStub(context, CodeStub::TranscendentalCache, 1);
7553 new(zone()) HCallStub(context, CodeStub::TranscendentalCache, 1);
7565 new(zone()) HCallStub(context, CodeStub::TranscendentalCache, 1);
7587 HGetCachedArrayIndex* result = new(zone()) HGetCachedArrayIndex(value);
7695 HPhi* phi = new(block->zone()) HPhi(i);
7751 return new(closure()->GetIsolate()->zone()) HEnvironment(this);
7765 HPhi* phi = new(loop_header->zone()) HPhi(i);
7779 HEnvironment* new_env = new(closure()->GetIsolate()->zone())
7798 Zone* zone = closure()->GetIsolate()->zone();
7820 new(zone) HEnvironment(outer, function->scope(), target);