Chromium Code Reviews| Index: src/compiler/linkage.cc |
| diff --git a/src/compiler/linkage.cc b/src/compiler/linkage.cc |
| index fd8aedc15da063fb5b8c940ee4eab62c520c2c15..1def1d99b58f6abb8e53792d7c07a1d4409296c5 100644 |
| --- a/src/compiler/linkage.cc |
| +++ b/src/compiler/linkage.cc |
| @@ -18,7 +18,7 @@ |
| namespace { |
| LinkageLocation regloc(Register reg) { |
| - return LinkageLocation::ForRegister(reg.code()); |
| + return LinkageLocation::ForRegister(Register::ToAllocationIndex(reg)); |
| } |