| Index: src/code-stubs-hydrogen.cc
|
| diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc
|
| index e1e25fb3cd741f37a04be5450e7a136375cf75cd..11cd307451cc0017429d0ea84be0bbdc410982a5 100644
|
| --- a/src/code-stubs-hydrogen.cc
|
| +++ b/src/code-stubs-hydrogen.cc
|
| @@ -144,7 +144,7 @@ bool CodeStubGraphBuilderBase::BuildGraph() {
|
| set_current_block(next_block);
|
|
|
| HConstant* undefined_constant = new(zone) HConstant(
|
| - isolate()->factory()->undefined_value(), Representation::Tagged());
|
| + isolate()->factory()->undefined_value());
|
| AddInstruction(undefined_constant);
|
| graph()->set_undefined_constant(undefined_constant);
|
|
|
| @@ -196,8 +196,7 @@ bool CodeStubGraphBuilderBase::BuildGraph() {
|
| stack_pop_count->ClearFlag(HValue::kCanOverflow);
|
| } else {
|
| int count = descriptor_->hint_stack_parameter_count_;
|
| - stack_pop_count = AddInstruction(new(zone)
|
| - HConstant(count, Representation::Integer32()));
|
| + stack_pop_count = AddInstruction(new(zone) HConstant(count));
|
| }
|
| }
|
|
|
| @@ -391,13 +390,11 @@ HValue* CodeStubGraphBuilder<FastCloneShallowObjectStub>::BuildCodeStub() {
|
| HValue* boilerplate_size =
|
| AddInstruction(new(zone) HInstanceSize(boilerplate));
|
| HValue* size_in_words =
|
| - AddInstruction(new(zone) HConstant(size >> kPointerSizeLog2,
|
| - Representation::Integer32()));
|
| + AddInstruction(new(zone) HConstant(size >> kPointerSizeLog2));
|
| checker.IfCompare(boilerplate_size, size_in_words, Token::EQ);
|
| checker.Then();
|
|
|
| - HValue* size_in_bytes =
|
| - AddInstruction(new(zone) HConstant(size, Representation::Integer32()));
|
| + HValue* size_in_bytes = AddInstruction(new(zone) HConstant(size));
|
| HAllocate::Flags flags = HAllocate::CAN_ALLOCATE_IN_NEW_SPACE;
|
| if (isolate()->heap()->ShouldGloballyPretenure()) {
|
| flags = static_cast<HAllocate::Flags>(
|
|
|