Chromium Code Reviews| Index: src/x64/assembler-x64.h |
| diff --git a/src/x64/assembler-x64.h b/src/x64/assembler-x64.h |
| index 2847ff2569c2d967de06334e74182dedb16e1520..e4f4fabc9ecf02f2ecc0fc05a746356c4d9ff4a6 100644 |
| --- a/src/x64/assembler-x64.h |
| +++ b/src/x64/assembler-x64.h |
| @@ -335,7 +335,6 @@ class Immediate BASE_EMBEDDED { |
| public: |
| explicit Immediate(int32_t value) : value_(value) {} |
| explicit Immediate(Smi* value) { |
| - DCHECK(SmiValuesAre31Bits()); // Only available for 31-bit SMI. |
|
Michael Starzinger
2016/02/22 09:37:49
Why did we need to remove this check? I seem to be
Yang
2016/02/22 12:48:43
As discussed offline, this constructor is only int
|
| value_ = static_cast<int32_t>(reinterpret_cast<intptr_t>(value)); |
| } |