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

Side by Side Diff: src/x87/macro-assembler-x87.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/x64/macro-assembler-x64.cc ('k') | src/x87/macro-assembler-x87.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_X87_MACRO_ASSEMBLER_X87_H_ 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_
6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ 6 #define V8_X87_MACRO_ASSEMBLER_X87_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 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 581
582 // Push a new stack handler and link it into stack handler chain. 582 // Push a new stack handler and link it into stack handler chain.
583 void PushStackHandler(); 583 void PushStackHandler();
584 584
585 // Unlink the stack handler on top of the stack from the stack handler chain. 585 // Unlink the stack handler on top of the stack from the stack handler chain.
586 void PopStackHandler(); 586 void PopStackHandler();
587 587
588 // --------------------------------------------------------------------------- 588 // ---------------------------------------------------------------------------
589 // Inline caching support 589 // Inline caching support
590 590
591 // Generate code for checking access rights - used for security checks
592 // on access to global objects across environments. The holder register
593 // is left untouched, but the scratch register is clobbered.
594 void CheckAccessGlobalProxy(Register holder_reg, Register scratch1,
595 Register scratch2, Label* miss);
596
597 void GetNumberHash(Register r0, Register scratch); 591 void GetNumberHash(Register r0, Register scratch);
598 592
599 // --------------------------------------------------------------------------- 593 // ---------------------------------------------------------------------------
600 // Allocation support 594 // Allocation support
601 595
602 // Allocate an object in new space or old space. If the given space 596 // Allocate an object in new space or old space. If the given space
603 // is exhausted control continues at the gc_required label. The allocated 597 // is exhausted control continues at the gc_required label. The allocated
604 // object is returned in result and end of the new object is returned in 598 // object is returned in result and end of the new object is returned in
605 // result_end. The register scratch can be passed as no_reg in which case 599 // result_end. The register scratch can be passed as no_reg in which case
606 // an additional object reference will be added to the reloc info. The 600 // an additional object reference will be added to the reloc info. The
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
1035 inline Operand NativeContextOperand() { 1029 inline Operand NativeContextOperand() {
1036 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); 1030 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX);
1037 } 1031 }
1038 1032
1039 #define ACCESS_MASM(masm) masm-> 1033 #define ACCESS_MASM(masm) masm->
1040 1034
1041 } // namespace internal 1035 } // namespace internal
1042 } // namespace v8 1036 } // namespace v8
1043 1037
1044 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ 1038 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_
OLDNEW
« no previous file with comments | « src/x64/macro-assembler-x64.cc ('k') | src/x87/macro-assembler-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698