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

Side by Side Diff: src/arm64/instructions-arm64.h

Issue 227043010: ARM64: Avoid iterating through all unresolved branch infos when many are pending. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Always traverse the link chain to delete branch info Created 6 years, 8 months 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 | Annotate | Revision Log
« no previous file with comments | « src/arm64/assembler-arm64.cc ('k') | no next file » | 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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 } 185 }
186 186
187 bool IsCompareBranch() const { 187 bool IsCompareBranch() const {
188 return Mask(CompareBranchFMask) == CompareBranchFixed; 188 return Mask(CompareBranchFMask) == CompareBranchFixed;
189 } 189 }
190 190
191 bool IsTestBranch() const { 191 bool IsTestBranch() const {
192 return Mask(TestBranchFMask) == TestBranchFixed; 192 return Mask(TestBranchFMask) == TestBranchFixed;
193 } 193 }
194 194
195 bool IsImmBranch() const {
196 return BranchType() != UnknownBranchType;
197 }
198
195 bool IsLdrLiteral() const { 199 bool IsLdrLiteral() const {
196 return Mask(LoadLiteralFMask) == LoadLiteralFixed; 200 return Mask(LoadLiteralFMask) == LoadLiteralFixed;
197 } 201 }
198 202
199 bool IsLdrLiteralX() const { 203 bool IsLdrLiteralX() const {
200 return Mask(LoadLiteralMask) == LDR_x_lit; 204 return Mask(LoadLiteralMask) == LDR_x_lit;
201 } 205 }
202 206
203 bool IsPCRelAddressing() const { 207 bool IsPCRelAddressing() const {
204 return Mask(PCRelAddressingFMask) == PCRelAddressingFixed; 208 return Mask(PCRelAddressingFMask) == PCRelAddressingFixed;
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 TRACE_ENABLE = 1 << 6, 509 TRACE_ENABLE = 1 << 6,
506 TRACE_DISABLE = 2 << 6, 510 TRACE_DISABLE = 2 << 6,
507 TRACE_OVERRIDE = 3 << 6 511 TRACE_OVERRIDE = 3 << 6
508 }; 512 };
509 513
510 514
511 } } // namespace v8::internal 515 } } // namespace v8::internal
512 516
513 517
514 #endif // V8_ARM64_INSTRUCTIONS_ARM64_H_ 518 #endif // V8_ARM64_INSTRUCTIONS_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm64/assembler-arm64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698