Index: src/register-allocator.cc |
diff --git a/src/register-allocator.cc b/src/register-allocator.cc |
index 2599232ce80348fa8fc5b0a0203a682751075b4f..d1b08bbc4c0cd99bfc83c997450b28861523272f 100644 |
--- a/src/register-allocator.cc |
+++ b/src/register-allocator.cc |
@@ -40,18 +40,7 @@ namespace internal { |
Result::Result(Register reg) { |
ASSERT(reg.is_valid() && !RegisterAllocator::IsReserved(reg)); |
CodeGeneratorScope::Current()->allocator()->Use(reg); |
- value_ = StaticTypeField::encode(StaticType::UNKNOWN_TYPE) |
- | TypeField::encode(REGISTER) |
- | DataField::encode(reg.code_); |
-} |
- |
- |
-Result::Result(Register reg, StaticType type) { |
- ASSERT(reg.is_valid() && !RegisterAllocator::IsReserved(reg)); |
- CodeGeneratorScope::Current()->allocator()->Use(reg); |
- value_ = StaticTypeField::encode(type.static_type_) |
- | TypeField::encode(REGISTER) |
- | DataField::encode(reg.code_); |
+ value_ = TypeField::encode(REGISTER) | DataField::encode(reg.code_); |
} |