Index: src/x64/macro-assembler-x64.h |
=================================================================== |
--- src/x64/macro-assembler-x64.h (revision 2517) |
+++ src/x64/macro-assembler-x64.h (working copy) |
@@ -212,7 +212,8 @@ |
// Generate code for checking access rights - used for security checks |
// on access to global objects across environments. The holder register |
- // is left untouched, but the scratch register is clobbered. |
+ // is left untouched, but the scratch register and kScratchRegister, |
+ // which must be different, are clobbered. |
void CheckAccessGlobalProxy(Register holder_reg, |
Register scratch, |
Label* miss); |