| Index: src/typing-asm.cc
|
| diff --git a/src/typing-asm.cc b/src/typing-asm.cc
|
| index 24e6d08daabcf6c4f62de7b480f8c7e7e56a2fe7..942b57b66b72eaefd6915f5a879a3df4ff7dee0c 100644
|
| --- a/src/typing-asm.cc
|
| +++ b/src/typing-asm.cc
|
| @@ -781,7 +781,7 @@ void AsmTyper::VisitHeapAccess(Property* expr, bool assigning,
|
| "array index expected to be integer"));
|
| Literal* right = bin->right()->AsLiteral();
|
| if (right == NULL || right->raw_value()->ContainsDot()) {
|
| - FAIL(right, "heap access shift must be integer");
|
| + FAIL(bin->right(), "heap access shift must be integer");
|
| }
|
| RECURSE(VisitWithExpectation(bin->right(), cache_.kAsmSigned,
|
| "array shift expected to be integer"));
|
|
|