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 are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // 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 989 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1000 static bool IsLw(Instr instr); | 1000 static bool IsLw(Instr instr); |
1001 static int16_t GetLwOffset(Instr instr); | 1001 static int16_t GetLwOffset(Instr instr); |
1002 static Instr SetLwOffset(Instr instr, int16_t offset); | 1002 static Instr SetLwOffset(Instr instr, int16_t offset); |
1003 | 1003 |
1004 static bool IsSw(Instr instr); | 1004 static bool IsSw(Instr instr); |
1005 static Instr SetSwOffset(Instr instr, int16_t offset); | 1005 static Instr SetSwOffset(Instr instr, int16_t offset); |
1006 static bool IsAddImmediate(Instr instr); | 1006 static bool IsAddImmediate(Instr instr); |
1007 static Instr SetAddImmediateOffset(Instr instr, int16_t offset); | 1007 static Instr SetAddImmediateOffset(Instr instr, int16_t offset); |
1008 | 1008 |
1009 static bool IsAndImmediate(Instr instr); | 1009 static bool IsAndImmediate(Instr instr); |
| 1010 static bool IsEmittedConstant(Instr instr); |
1010 | 1011 |
1011 void CheckTrampolinePool(); | 1012 void CheckTrampolinePool(); |
1012 | 1013 |
1013 protected: | 1014 protected: |
1014 // Relocation for a type-recording IC has the AST id added to it. This | 1015 // Relocation for a type-recording IC has the AST id added to it. This |
1015 // member variable is a way to pass the information from the call site to | 1016 // member variable is a way to pass the information from the call site to |
1016 // the relocation info. | 1017 // the relocation info. |
1017 TypeFeedbackId recorded_ast_id_; | 1018 TypeFeedbackId recorded_ast_id_; |
1018 | 1019 |
1019 int32_t buffer_space() const { return reloc_info_writer.pos() - pc_; } | 1020 int32_t buffer_space() const { return reloc_info_writer.pos() - pc_; } |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1273 class EnsureSpace BASE_EMBEDDED { | 1274 class EnsureSpace BASE_EMBEDDED { |
1274 public: | 1275 public: |
1275 explicit EnsureSpace(Assembler* assembler) { | 1276 explicit EnsureSpace(Assembler* assembler) { |
1276 assembler->CheckBuffer(); | 1277 assembler->CheckBuffer(); |
1277 } | 1278 } |
1278 }; | 1279 }; |
1279 | 1280 |
1280 } } // namespace v8::internal | 1281 } } // namespace v8::internal |
1281 | 1282 |
1282 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1283 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
OLD | NEW |