| Index: src/x64/lithium-codegen-x64.cc
 | 
| diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
 | 
| index 6bec93af5e081e949d7f7eb5d35485d5f9b385b3..61fbeba93a17dc6ab64f491663a37cea4d6d4ded 100644
 | 
| --- a/src/x64/lithium-codegen-x64.cc
 | 
| +++ b/src/x64/lithium-codegen-x64.cc
 | 
| @@ -320,24 +320,24 @@ bool LCodeGen::IsTaggedConstant(LConstantOperand* op) const {
 | 
|  
 | 
|  
 | 
|  int LCodeGen::ToInteger32(LConstantOperand* op) const {
 | 
| -  Handle<Object> value = chunk_->LookupLiteral(op);
 | 
| +  HConstant* constant = chunk_->LookupConstant(op);
 | 
|    ASSERT(chunk_->LookupLiteralRepresentation(op).IsInteger32());
 | 
| -  ASSERT(static_cast<double>(static_cast<int32_t>(value->Number())) ==
 | 
| -      value->Number());
 | 
| -  return static_cast<int32_t>(value->Number());
 | 
| +  ASSERT(constant->HasInteger32Value());
 | 
| +  return constant->Integer32Value();
 | 
|  }
 | 
|  
 | 
|  
 | 
|  double LCodeGen::ToDouble(LConstantOperand* op) const {
 | 
| -  Handle<Object> value = chunk_->LookupLiteral(op);
 | 
| -  return value->Number();
 | 
| +  HConstant* value = chunk_->LookupConstant(op);
 | 
| +  ASSERT(value->HasDoubleValue());
 | 
| +  return value->DoubleValue();
 | 
|  }
 | 
|  
 | 
|  
 | 
|  Handle<Object> LCodeGen::ToHandle(LConstantOperand* op) const {
 | 
| -  Handle<Object> literal = chunk_->LookupLiteral(op);
 | 
| +  HConstant* constant = chunk_->LookupConstant(op);
 | 
|    ASSERT(chunk_->LookupLiteralRepresentation(op).IsTagged());
 | 
| -  return literal;
 | 
| +  return constant->handle();
 | 
|  }
 | 
|  
 | 
|  
 | 
| @@ -442,8 +442,8 @@ void LCodeGen::AddToTranslation(Translation* translation,
 | 
|      XMMRegister reg = ToDoubleRegister(op);
 | 
|      translation->StoreDoubleRegister(reg);
 | 
|    } else if (op->IsConstantOperand()) {
 | 
| -    Handle<Object> literal = chunk()->LookupLiteral(LConstantOperand::cast(op));
 | 
| -    int src_index = DefineDeoptimizationLiteral(literal);
 | 
| +    HConstant* constant = chunk()->LookupConstant(LConstantOperand::cast(op));
 | 
| +    int src_index = DefineDeoptimizationLiteral(constant->handle());
 | 
|      translation->StoreLiteral(src_index);
 | 
|    } else {
 | 
|      UNREACHABLE();
 | 
| 
 |