| Index: src/hydrogen-instructions.cc
|
| diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc
|
| index 073f7a1c7c2a198f94cb7e87a82fbe51b1803b0d..2033ea422b2d09530e4463712bc35a91334c5d55 100644
|
| --- a/src/hydrogen-instructions.cc
|
| +++ b/src/hydrogen-instructions.cc
|
| @@ -1513,6 +1513,11 @@ HValue* HUnaryMathOperation::Canonicalize() {
|
| // If the input is integer32 then we replace the floor instruction
|
| // with its input. This happens before the representation changes are
|
| // introduced.
|
| +
|
| + // TODO(2205): The above comment is lying. All of this happens
|
| + // *after* representation changes are introduced. We should check
|
| + // for value->IsChange() and react accordingly if yes.
|
| +
|
| if (value()->representation().IsInteger32()) return value();
|
|
|
| #if defined(V8_TARGET_ARCH_ARM) || defined(V8_TARGET_ARCH_IA32) || \
|
|
|