| 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 807dcdc2d571d6ffd4d7df4116a0d2a088bb203b..b355d24941551e72a9035e8a8b9ef53343ed844f 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());
|
|
|