OLD | NEW |
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions | 5 // modification, are permitted provided that the following conditions |
6 // are met: | 6 // are met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1113 static Instr instr_at(byte* pc) { return *reinterpret_cast<Instr*>(pc); } | 1113 static Instr instr_at(byte* pc) { return *reinterpret_cast<Instr*>(pc); } |
1114 static void instr_at_put(byte* pc, Instr instr) { | 1114 static void instr_at_put(byte* pc, Instr instr) { |
1115 *reinterpret_cast<Instr*>(pc) = instr; | 1115 *reinterpret_cast<Instr*>(pc) = instr; |
1116 } | 1116 } |
1117 static bool IsNop(Instr instr, int type = 0); | 1117 static bool IsNop(Instr instr, int type = 0); |
1118 static bool IsBranch(Instr instr); | 1118 static bool IsBranch(Instr instr); |
1119 static int GetBranchOffset(Instr instr); | 1119 static int GetBranchOffset(Instr instr); |
1120 static bool IsLdrRegisterImmediate(Instr instr); | 1120 static bool IsLdrRegisterImmediate(Instr instr); |
1121 static int GetLdrRegisterImmediateOffset(Instr instr); | 1121 static int GetLdrRegisterImmediateOffset(Instr instr); |
1122 static Instr SetLdrRegisterImmediateOffset(Instr instr, int offset); | 1122 static Instr SetLdrRegisterImmediateOffset(Instr instr, int offset); |
| 1123 static bool IsStrRegisterImmediate(Instr instr); |
| 1124 static Instr SetStrRegisterImmediateOffset(Instr instr, int offset); |
| 1125 static bool IsAddRegisterImmediate(Instr instr); |
| 1126 static Instr SetAddRegisterImmediateOffset(Instr instr, int offset); |
1123 static Register GetRd(Instr instr); | 1127 static Register GetRd(Instr instr); |
1124 static bool IsPush(Instr instr); | 1128 static bool IsPush(Instr instr); |
1125 static bool IsPop(Instr instr); | 1129 static bool IsPop(Instr instr); |
1126 static bool IsStrRegFpOffset(Instr instr); | 1130 static bool IsStrRegFpOffset(Instr instr); |
1127 static bool IsLdrRegFpOffset(Instr instr); | 1131 static bool IsLdrRegFpOffset(Instr instr); |
1128 static bool IsStrRegFpNegOffset(Instr instr); | 1132 static bool IsStrRegFpNegOffset(Instr instr); |
1129 static bool IsLdrRegFpNegOffset(Instr instr); | 1133 static bool IsLdrRegFpNegOffset(Instr instr); |
1130 | 1134 |
1131 | 1135 |
1132 protected: | 1136 protected: |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1262 | 1266 |
1263 friend class RegExpMacroAssemblerARM; | 1267 friend class RegExpMacroAssemblerARM; |
1264 friend class RelocInfo; | 1268 friend class RelocInfo; |
1265 friend class CodePatcher; | 1269 friend class CodePatcher; |
1266 friend class BlockConstPoolScope; | 1270 friend class BlockConstPoolScope; |
1267 }; | 1271 }; |
1268 | 1272 |
1269 } } // namespace v8::internal | 1273 } } // namespace v8::internal |
1270 | 1274 |
1271 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 1275 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
OLD | NEW |