| Index: src/assembler-ia32.h
|
| ===================================================================
|
| --- src/assembler-ia32.h (revision 949)
|
| +++ src/assembler-ia32.h (working copy)
|
| @@ -174,6 +174,15 @@
|
| };
|
|
|
|
|
| +// The result of negating a hint is as if the corresponding condition
|
| +// were negated by NegateCondition. That is, no_hint is mapped to
|
| +// itself and not_taken and taken are mapped to each other.
|
| +inline Hint NegateHint(Hint hint) {
|
| + return (hint == no_hint)
|
| + ? no_hint
|
| + : ((hint == not_taken) ? taken : not_taken);
|
| +}
|
| +
|
| // -----------------------------------------------------------------------------
|
| // Machine instruction Immediates
|
|
|
|
|