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

Side by Side Diff: src/arm64/macro-assembler-arm64.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/arm/macro-assembler-arm.cc ('k') | src/arm64/macro-assembler-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64_MACRO_ASSEMBLER_ARM64_H_ 5 #ifndef V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ 6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "src/arm64/assembler-arm64.h" 10 #include "src/arm64/assembler-arm64.h"
(...skipping 1572 matching lines...) Expand 10 before | Expand all | Expand 10 after
1583 1583
1584 // --------------------------------------------------------------------------- 1584 // ---------------------------------------------------------------------------
1585 // Inline caching support. 1585 // Inline caching support.
1586 1586
1587 void EmitSeqStringSetCharCheck(Register string, 1587 void EmitSeqStringSetCharCheck(Register string,
1588 Register index, 1588 Register index,
1589 SeqStringSetCharCheckIndexType index_type, 1589 SeqStringSetCharCheckIndexType index_type,
1590 Register scratch, 1590 Register scratch,
1591 uint32_t encoding_mask); 1591 uint32_t encoding_mask);
1592 1592
1593 // Generate code for checking access rights - used for security checks
1594 // on access to global objects across environments. The holder register
1595 // is left untouched, whereas both scratch registers are clobbered.
1596 void CheckAccessGlobalProxy(Register holder_reg,
1597 Register scratch1,
1598 Register scratch2,
1599 Label* miss);
1600
1601 // Hash the interger value in 'key' register. 1593 // Hash the interger value in 'key' register.
1602 // It uses the same algorithm as ComputeIntegerHash in utils.h. 1594 // It uses the same algorithm as ComputeIntegerHash in utils.h.
1603 void GetNumberHash(Register key, Register scratch); 1595 void GetNumberHash(Register key, Register scratch);
1604 1596
1605 // --------------------------------------------------------------------------- 1597 // ---------------------------------------------------------------------------
1606 // Frames. 1598 // Frames.
1607 1599
1608 // Load the type feedback vector from a JavaScript frame. 1600 // Load the type feedback vector from a JavaScript frame.
1609 void EmitLoadTypeFeedbackVector(Register vector); 1601 void EmitLoadTypeFeedbackVector(Register vector);
1610 1602
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
2279 class RegisterBits : public BitField<unsigned, 0, 5> {}; 2271 class RegisterBits : public BitField<unsigned, 0, 5> {};
2280 class DeltaBits : public BitField<uint32_t, 5, 32-5> {}; 2272 class DeltaBits : public BitField<uint32_t, 5, 32-5> {};
2281 }; 2273 };
2282 2274
2283 } // namespace internal 2275 } // namespace internal
2284 } // namespace v8 2276 } // namespace v8
2285 2277
2286 #define ACCESS_MASM(masm) masm-> 2278 #define ACCESS_MASM(masm) masm->
2287 2279
2288 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ 2280 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/arm64/macro-assembler-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698