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

Side by Side Diff: src/mips/macro-assembler-mips.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/ic/x87/handler-compiler-x87.cc ('k') | src/mips/macro-assembler-mips.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_MIPS_MACRO_ASSEMBLER_MIPS_H_ 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/mips/assembler-mips.h" 10 #include "src/mips/assembler-mips.h"
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 SaveFPRegsMode save_fp, 488 SaveFPRegsMode save_fp,
489 RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, 489 RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET,
490 SmiCheck smi_check = INLINE_SMI_CHECK, 490 SmiCheck smi_check = INLINE_SMI_CHECK,
491 PointersToHereCheck pointers_to_here_check_for_value = 491 PointersToHereCheck pointers_to_here_check_for_value =
492 kPointersToHereMaybeInteresting); 492 kPointersToHereMaybeInteresting);
493 493
494 494
495 // --------------------------------------------------------------------------- 495 // ---------------------------------------------------------------------------
496 // Inline caching support. 496 // Inline caching support.
497 497
498 // Generate code for checking access rights - used for security checks
499 // on access to global objects across environments. The holder register
500 // is left untouched, whereas both scratch registers are clobbered.
501 void CheckAccessGlobalProxy(Register holder_reg,
502 Register scratch,
503 Label* miss);
504
505 void GetNumberHash(Register reg0, Register scratch); 498 void GetNumberHash(Register reg0, Register scratch);
506 499
507 inline void MarkCode(NopMarkerTypes type) { 500 inline void MarkCode(NopMarkerTypes type) {
508 nop(type); 501 nop(type);
509 } 502 }
510 503
511 // Check if the given instruction is a 'type' marker. 504 // Check if the given instruction is a 'type' marker.
512 // i.e. check if it is a sll zero_reg, zero_reg, <type> (referenced as 505 // i.e. check if it is a sll zero_reg, zero_reg, <type> (referenced as
513 // nop(type)). These instructions are generated to mark special location in 506 // nop(type)). These instructions are generated to mark special location in
514 // the code, like some special IC code. 507 // the code, like some special IC code.
(...skipping 1384 matching lines...) Expand 10 before | Expand all | Expand 10 after
1899 dd(GetLabelFunction(index)); 1892 dd(GetLabelFunction(index));
1900 } 1893 }
1901 } 1894 }
1902 1895
1903 #define ACCESS_MASM(masm) masm-> 1896 #define ACCESS_MASM(masm) masm->
1904 1897
1905 } // namespace internal 1898 } // namespace internal
1906 } // namespace v8 1899 } // namespace v8
1907 1900
1908 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1901 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/ic/x87/handler-compiler-x87.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698