| Index: src/mips/constants-mips.cc
|
| diff --git a/src/mips/constants-mips.cc b/src/mips/constants-mips.cc
|
| index ff8a79f1b2246870e4ec1e221f965c2deff05aa0..538c64c845d3aa8d99e73ed3456c21430cf8497a 100644
|
| --- a/src/mips/constants-mips.cc
|
| +++ b/src/mips/constants-mips.cc
|
| @@ -127,20 +127,23 @@ int FPURegisters::Number(const char* name) {
|
| // Instructions.
|
|
|
| bool Instruction::IsForbiddenInBranchDelay() const {
|
| - const int op = OpcodeFieldRaw();
|
| - switch (op) {
|
| + switch (OpcodeFieldRaw()) {
|
| case J:
|
| case JAL:
|
| case BEQ:
|
| case BNE:
|
| - case BLEZ:
|
| - case BGTZ:
|
| + case BLEZ: // POP06
|
| + case BGTZ: // POP07
|
| case BEQL:
|
| case BNEL:
|
| - case BLEZL:
|
| - case BGTZL:
|
| + case BLEZL: // POP26
|
| + case BGTZL: // POP27
|
| case BC:
|
| case BALC:
|
| + case POP10:
|
| + case POP30:
|
| + case POP66:
|
| + case POP76:
|
| return true;
|
| case REGIMM:
|
| switch (RtFieldRaw()) {
|
| @@ -169,8 +172,7 @@ bool Instruction::IsForbiddenInBranchDelay() const {
|
|
|
|
|
| bool Instruction::IsLinkingInstruction() const {
|
| - const int op = OpcodeFieldRaw();
|
| - switch (op) {
|
| + switch (OpcodeFieldRaw()) {
|
| case JAL:
|
| return true;
|
| case POP76:
|
|
|