Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(941)

Side by Side Diff: src/ia32/macro-assembler-ia32.h

Issue 2455953002: [ic] Remove unnecessary access rights checks from the IC handlers. (Closed)
Patch Set: Addressing comments and rebasing Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/bailout-reason.h ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_ 5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_
6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 592
593 // Push a new stack handler and link it into stack handler chain. 593 // Push a new stack handler and link it into stack handler chain.
594 void PushStackHandler(); 594 void PushStackHandler();
595 595
596 // Unlink the stack handler on top of the stack from the stack handler chain. 596 // Unlink the stack handler on top of the stack from the stack handler chain.
597 void PopStackHandler(); 597 void PopStackHandler();
598 598
599 // --------------------------------------------------------------------------- 599 // ---------------------------------------------------------------------------
600 // Inline caching support 600 // Inline caching support
601 601
602 // Generate code for checking access rights - used for security checks
603 // on access to global objects across environments. The holder register
604 // is left untouched, but the scratch register is clobbered.
605 void CheckAccessGlobalProxy(Register holder_reg, Register scratch1,
606 Register scratch2, Label* miss);
607
608 void GetNumberHash(Register r0, Register scratch); 602 void GetNumberHash(Register r0, Register scratch);
609 603
610 // --------------------------------------------------------------------------- 604 // ---------------------------------------------------------------------------
611 // Allocation support 605 // Allocation support
612 606
613 // Allocate an object in new space or old space. If the given space 607 // Allocate an object in new space or old space. If the given space
614 // is exhausted control continues at the gc_required label. The allocated 608 // is exhausted control continues at the gc_required label. The allocated
615 // object is returned in result and end of the new object is returned in 609 // object is returned in result and end of the new object is returned in
616 // result_end. The register scratch can be passed as no_reg in which case 610 // result_end. The register scratch can be passed as no_reg in which case
617 // an additional object reference will be added to the reloc info. The 611 // an additional object reference will be added to the reloc info. The
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
1056 inline Operand NativeContextOperand() { 1050 inline Operand NativeContextOperand() {
1057 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); 1051 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX);
1058 } 1052 }
1059 1053
1060 #define ACCESS_MASM(masm) masm-> 1054 #define ACCESS_MASM(masm) masm->
1061 1055
1062 } // namespace internal 1056 } // namespace internal
1063 } // namespace v8 1057 } // namespace v8
1064 1058
1065 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1059 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/bailout-reason.h ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698