ElementsKind kind,
HValue* capacity) {
Zone* zone = this->zone();
- BailoutId ast_id = current_block()->last_environment()->previous_ast_id();
Factory* factory = isolate()->factory();
Handle<Map> map = IsFastDoubleElementsKind(kind)
? factory->fixed_double_array_map()
: factory->fixed_array_map();
- BuildStoreMap(elements, map, ast_id);
+ BuildStoreMap(elements, map);
Handle<String> fixed_array_length_field_name = factory->length_field_string();
HInstruction* store_length =
HInstruction* HGraphBuilder::BuildStoreMap(HValue* object,
- HValue* map,
- BailoutId id) {
+ HValue* map) {
Zone* zone = this->zone();
Factory* factory = isolate()->factory();
Handle<String> map_field_name = factory->map_field_string();
HInstruction* HGraphBuilder::BuildStoreMap(HValue* object,
- Handle<Map> map,
- BailoutId id) {
+ Handle<Map> map) {
Zone* zone = this->zone();
HValue* map_constant =
AddInstruction(new(zone) HConstant(map, Representation::Tagged()));
- return BuildStoreMap(object, map_constant, id);
+ return BuildStoreMap(object, map_constant);
}
HValue* boilerplate,
AllocationSiteMode mode,
ElementsKind kind,
- BailoutId id,
int length) {
Zone* zone = this->zone();
Factory* factory = isolate()->factory();
value,
true, i));
} else {
- BuildStoreMap(object, value, id);
+ BuildStoreMap(object, value);
}
}
}
HValue* alloc_site =
AddInstruction(new(zone) HInnerAllocatedObject(object, JSArray::kSize));
Handle<Map> alloc_site_map(isolate()->heap()->allocation_site_info_map());
- BuildStoreMap(alloc_site, alloc_site_map, id);
+ BuildStoreMap(alloc_site, alloc_site_map);
int alloc_payload_offset = AllocationSiteInfo::kPayloadOffset;
AddInstruction(new(zone) HStoreNamedField(alloc_site,
factory->empty_string(),
original_boilerplate_object,
data_size,
pointer_size,
- DONT_TRACK_ALLOCATION_SITE,
- environment()->previous_ast_id());
+ DONT_TRACK_ALLOCATION_SITE);
} else {
literal = AddInstruction(
new(zone()) HObjectLiteral(context,
original_boilerplate_object,
data_size,
pointer_size,
- mode,
- environment()->previous_ast_id());
+ mode);
} else {
literal = AddInstruction(
new(zone()) HArrayLiteral(context,
Handle<JSObject> original_boilerplate_object,
int data_size,
int pointer_size,
- AllocationSiteMode mode,
- BailoutId id) {
+ AllocationSiteMode mode) {
Zone* zone = this->zone();
int total_size = data_size + pointer_size;
HAllocate::CAN_ALLOCATE_IN_NEW_SPACE));
int offset = 0;
BuildEmitDeepCopy(boilerplate_object, original_boilerplate_object, result,
- &offset, mode, id);
- ASSERT_EQ(total_size, offset);
+ &offset, mode);
return result;
}
Handle<JSObject> original_boilerplate_object,
HInstruction* target,
int* offset,
- AllocationSiteMode mode,
- BailoutId id) {
+ AllocationSiteMode mode) {
Zone* zone = this->zone();
Factory* factory = isolate()->factory();
*offset += object_size + elements_size;
HValue* object_elements = BuildCopyObjectHeader(boilerplate_object, target,
- object_offset, elements_offset, elements_size, id);
+ object_offset, elements_offset, elements_size);
// Copy in-object properties.
HValue* object_properties =
object_properties, factory->unknown_field_string(), value_instruction,
true, boilerplate_object->GetInObjectPropertyOffset(i)));
BuildEmitDeepCopy(value_object, original_value_object, target,
- offset, DONT_TRACK_ALLOCATION_SITE, id);
+ offset, DONT_TRACK_ALLOCATION_SITE);
} else {
HInstruction* value_instruction = AddInstruction(new(zone) HConstant(
value, Representation::Tagged()));
HValue* alloc_site =
AddInstruction(new(zone) HInnerAllocatedObject(target, JSArray::kSize));
Handle<Map> alloc_site_map(isolate()->heap()->allocation_site_info_map());
- BuildStoreMap(alloc_site, alloc_site_map, id);
+ BuildStoreMap(alloc_site, alloc_site_map);
int alloc_payload_offset = AllocationSiteInfo::kPayloadOffset;
AddInstruction(new(zone) HStoreNamedField(alloc_site,
factory->payload_string(),
AddInstruction(new(zone) HStoreKeyed(
object_elements, key_constant, value_instruction, kind));
BuildEmitDeepCopy(value_object, original_value_object, target,
- offset, DONT_TRACK_ALLOCATION_SITE, id);
+ offset, DONT_TRACK_ALLOCATION_SITE);
} else {
HInstruction* value_instruction =
AddInstruction(new(zone) HLoadKeyed(
HInstruction* target,
int object_offset,
int elements_offset,
- int elements_size,
- BailoutId id) {
+ int elements_size) {
ASSERT(boilerplate_object->properties()->length() == 0);
Zone* zone = this->zone();
Factory* factory = isolate()->factory();
HValue* object_header =
AddInstruction(new(zone) HInnerAllocatedObject(target, object_offset));
Handle<Map> boilerplate_object_map(boilerplate_object->map());
- BuildStoreMap(object_header, boilerplate_object_map, id);
+ BuildStoreMap(object_header, boilerplate_object_map);
HInstruction* elements;
if (elements_size == 0) {