| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index 53be7d1e17ad7756ccf3cfa55fb95a039ee48049..06e886c6bb1c9db5aca15deb9a53d43daee24941 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -353,6 +353,18 @@ DoubleRegister LCodeGen::EmitLoadDoubleRegister(LOperand* op,
|
| }
|
|
|
|
|
| +Handle<Object> LCodeGen::ToHandle(LConstantOperand* op) const {
|
| + Handle<Object> literal = chunk_->LookupLiteral(op);
|
| + ASSERT(chunk_->LookupLiteralRepresentation(op).IsTagged());
|
| + return literal;
|
| +}
|
| +
|
| +
|
| +bool LCodeGen::IsInteger32(LConstantOperand* op) const {
|
| + return chunk_->LookupLiteralRepresentation(op).IsInteger32();
|
| +}
|
| +
|
| +
|
| int LCodeGen::ToInteger32(LConstantOperand* op) const {
|
| Handle<Object> value = chunk_->LookupLiteral(op);
|
| ASSERT(chunk_->LookupLiteralRepresentation(op).IsInteger32());
|
|
|