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

Unified Diff: src/arm64/regexp-macro-assembler-arm64.cc

Issue 317663002: Rename InvertCondition and ReverseConditionForCmp on arm64 to be consistent with the other ports. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/arm64/macro-assembler-arm64.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm64/regexp-macro-assembler-arm64.cc
diff --git a/src/arm64/regexp-macro-assembler-arm64.cc b/src/arm64/regexp-macro-assembler-arm64.cc
index 9e81c62897347a474e9ad41aa65f4b58fb915229..f2363525c542b09d1f9bc37966224235d7fbb4e9 100644
--- a/src/arm64/regexp-macro-assembler-arm64.cc
+++ b/src/arm64/regexp-macro-assembler-arm64.cc
@@ -1460,7 +1460,7 @@ void RegExpMacroAssemblerARM64::BranchOrBacktrack(Condition condition,
to = &backtrack_label_;
}
// TODO(ulan): do direct jump when jump distance is known and fits in imm19.
- Condition inverted_condition = InvertCondition(condition);
+ Condition inverted_condition = NegateCondition(condition);
Label no_branch;
__ B(inverted_condition, &no_branch);
__ B(to);
@@ -1601,7 +1601,7 @@ void RegExpMacroAssemblerARM64::StoreRegister(int register_index,
void RegExpMacroAssemblerARM64::CallIf(Label* to, Condition condition) {
Label skip_call;
- if (condition != al) __ B(&skip_call, InvertCondition(condition));
+ if (condition != al) __ B(&skip_call, NegateCondition(condition));
__ Bl(to);
__ Bind(&skip_call);
}
« no previous file with comments | « src/arm64/macro-assembler-arm64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698