Reviewers: Jakob,
Description:
Documentation: fix comments for CommuteCondition.
[email protected]
BUG=
Please review this at https://codereview.chromium.org/313283003/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+6, -6 lines):
M src/arm/constants-arm.h
M src/arm64/constants-arm64.h
M src/ia32/assembler-ia32.h
M src/mips/constants-mips.h
M src/x64/assembler-x64.h
M src/x87/assembler-x87.h
Index: src/arm/constants-arm.h
diff --git a/src/arm/constants-arm.h b/src/arm/constants-arm.h
index
664e12e6a86f48aa3f39b22680f04a067e8860e1..0847ea17cacaacc3bd27686186eb37df7bc9fe19
100644
--- a/src/arm/constants-arm.h
+++ b/src/arm/constants-arm.h
@@ -89,7 +89,7 @@ inline Condition NegateCondition(Condition cond) {
}
-// Commute a condition such that a cond b == b cond' b.
+// Commute a condition such that {a cond b == b cond' a}.
inline Condition CommuteCondition(Condition cond) {
switch (cond) {
case lo:
Index: src/arm64/constants-arm64.h
diff --git a/src/arm64/constants-arm64.h b/src/arm64/constants-arm64.h
index
38dc328bf45df9d03ea72caead0ca5364699e8b3..46852b9b537ccd3aa72287f15d3b8e8392b9e411
100644
--- a/src/arm64/constants-arm64.h
+++ b/src/arm64/constants-arm64.h
@@ -265,7 +265,7 @@ inline Condition NegateCondition(Condition cond) {
return static_cast<Condition>(cond ^ 1);
}
-// Commute a condition such that a cond b == b cond' b.
+// Commute a condition such that {a cond b == b cond' a}.
inline Condition CommuteCondition(Condition cond) {
switch (cond) {
case lo:
Index: src/ia32/assembler-ia32.h
diff --git a/src/ia32/assembler-ia32.h b/src/ia32/assembler-ia32.h
index
fd459fbc8d85b68fd54aa9fc482ec2fd5503f8e6..de8b04f84e3e27287eaf0175d322545f1ce9cc3b
100644
--- a/src/ia32/assembler-ia32.h
+++ b/src/ia32/assembler-ia32.h
@@ -246,7 +246,7 @@ inline Condition NegateCondition(Condition cc) {
}
-// Commute a condition such that a cond b == b cond' b.
+// Commute a condition such that {a cond b == b cond' a}.
inline Condition CommuteCondition(Condition cc) {
switch (cc) {
case below:
Index: src/mips/constants-mips.h
diff --git a/src/mips/constants-mips.h b/src/mips/constants-mips.h
index
34d0742162034e959fa03cb8286f3121dd565179..fc64f7dbbf99431e5cdd21866ef41f905680bb0e
100644
--- a/src/mips/constants-mips.h
+++ b/src/mips/constants-mips.h
@@ -504,7 +504,7 @@ inline Condition NegateCondition(Condition cc) {
}
-// Commute a condition such that a cond b == b cond' b.
+// Commute a condition such that {a cond b == b cond' a}.
inline Condition CommuteCondition(Condition cc) {
switch (cc) {
case Uless:
Index: src/x64/assembler-x64.h
diff --git a/src/x64/assembler-x64.h b/src/x64/assembler-x64.h
index
4e3b87c4ded9cd41a93f9afe055031b325da4628..4259e9b50ef5ccbfd5d5b8f2452b6052697a5543
100644
--- a/src/x64/assembler-x64.h
+++ b/src/x64/assembler-x64.h
@@ -326,7 +326,7 @@ inline Condition NegateCondition(Condition cc) {
}
-// Commute a condition such that a cond b == b cond' b.
+// Commute a condition such that {a cond b == b cond' a}.
inline Condition CommuteCondition(Condition cc) {
switch (cc) {
case below:
Index: src/x87/assembler-x87.h
diff --git a/src/x87/assembler-x87.h b/src/x87/assembler-x87.h
index
1fd724feadbb673698dabf39b9a6c3c242605069..162416735b0be3150e9f6efa4a95de00d3f6fd1c
100644
--- a/src/x87/assembler-x87.h
+++ b/src/x87/assembler-x87.h
@@ -238,7 +238,7 @@ inline Condition NegateCondition(Condition cc) {
}
-// Commute a condition such that a cond b == b cond' b.
+// Commute a condition such that {a cond b == b cond' a}.
inline Condition CommuteCondition(Condition cc) {
switch (cc) {
case below:
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.