equal
deleted
inserted
replaced
231 BasicBlock* this_block, |
231 BasicBlock* this_block, |
232 const char* name) { |
232 const char* name) { |
233 assert(type() == other->type(), "should be"); |
233 assert(type() == other->type(), "should be"); |
234 assert(zero_checked() == other->zero_checked(), "should be"); |
234 assert(zero_checked() == other->zero_checked(), "should be"); |
235 |
235 |
236 PHINode *phi = builder->CreatePHI(SharkType::to_stackType(type()), name); |
236 PHINode *phi = builder->CreatePHI(SharkType::to_stackType(type()), 0, name); |
237 phi->addIncoming(this->generic_value(), this_block); |
237 phi->addIncoming(this->generic_value(), this_block); |
238 phi->addIncoming(other->generic_value(), other_block); |
238 phi->addIncoming(other->generic_value(), other_block); |
239 return SharkValue::create_generic(type(), phi, zero_checked()); |
239 return SharkValue::create_generic(type(), phi, zero_checked()); |
240 } |
240 } |
241 SharkValue* SharkAddressValue::merge(SharkBuilder* builder, |
241 SharkValue* SharkAddressValue::merge(SharkBuilder* builder, |