summaryrefslogtreecommitdiffstats
path: root/V8Binding/v8/src/x64/macro-assembler-x64.h
diff options
context:
space:
mode:
Diffstat (limited to 'V8Binding/v8/src/x64/macro-assembler-x64.h')
-rw-r--r--V8Binding/v8/src/x64/macro-assembler-x64.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/V8Binding/v8/src/x64/macro-assembler-x64.h b/V8Binding/v8/src/x64/macro-assembler-x64.h
index f13a7ad..2ee6eea 100644
--- a/V8Binding/v8/src/x64/macro-assembler-x64.h
+++ b/V8Binding/v8/src/x64/macro-assembler-x64.h
@@ -212,7 +212,8 @@ class MacroAssembler: public Assembler {
// 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);