| Index: src/compiler/ia32/code-generator-ia32.cc
|
| diff --git a/src/compiler/ia32/code-generator-ia32.cc b/src/compiler/ia32/code-generator-ia32.cc
|
| index 009421f8cce65fff8be7fc0c91a9528e3ccff8ba..ee05ad00b6ef4e25be89793b4fdd1b1d8dd5fb51 100644
|
| --- a/src/compiler/ia32/code-generator-ia32.cc
|
| +++ b/src/compiler/ia32/code-generator-ia32.cc
|
| @@ -65,11 +65,6 @@
|
|
|
| Immediate ToImmediate(InstructionOperand* operand) {
|
| Constant constant = ToConstant(operand);
|
| - if (constant.type() == Constant::kInt32 &&
|
| - constant.rmode() == RelocInfo::WASM_MEMORY_REFERENCE) {
|
| - return Immediate(reinterpret_cast<Address>(constant.ToInt32()),
|
| - constant.rmode());
|
| - }
|
| switch (constant.type()) {
|
| case Constant::kInt32:
|
| return Immediate(constant.ToInt32());
|
|
|