| Index: src/x64/register-allocator-x64-inl.h
|
| diff --git a/src/x64/register-allocator-x64-inl.h b/src/x64/register-allocator-x64-inl.h
|
| index d630b335a77df7038eac8daec6118a195466ac73..c7c18b397cc33237cbda7161f273e82f7e542893 100644
|
| --- a/src/x64/register-allocator-x64-inl.h
|
| +++ b/src/x64/register-allocator-x64-inl.h
|
| @@ -38,7 +38,7 @@ namespace internal {
|
|
|
| bool RegisterAllocator::IsReserved(Register reg) {
|
| return reg.is(rsp) || reg.is(rbp) || reg.is(rsi) ||
|
| - reg.is(kScratchRegister);
|
| + reg.is(kScratchRegister) || reg.is(kRootRegister);
|
| }
|
|
|
|
|
|
|