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 924 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
935 static bool IsLw(Instr instr); | 935 static bool IsLw(Instr instr); |
936 static int16_t GetLwOffset(Instr instr); | 936 static int16_t GetLwOffset(Instr instr); |
937 static Instr SetLwOffset(Instr instr, int16_t offset); | 937 static Instr SetLwOffset(Instr instr, int16_t offset); |
938 | 938 |
939 static bool IsSw(Instr instr); | 939 static bool IsSw(Instr instr); |
940 static Instr SetSwOffset(Instr instr, int16_t offset); | 940 static Instr SetSwOffset(Instr instr, int16_t offset); |
941 static bool IsAddImmediate(Instr instr); | 941 static bool IsAddImmediate(Instr instr); |
942 static Instr SetAddImmediateOffset(Instr instr, int16_t offset); | 942 static Instr SetAddImmediateOffset(Instr instr, int16_t offset); |
943 | 943 |
944 static bool IsAndImmediate(Instr instr); | 944 static bool IsAndImmediate(Instr instr); |
| 945 static bool IsEmittedConstant(Instr instr); |
945 | 946 |
946 void CheckTrampolinePool(); | 947 void CheckTrampolinePool(); |
947 | 948 |
948 protected: | 949 protected: |
949 // Relocation for a type-recording IC has the AST id added to it. This | 950 // Relocation for a type-recording IC has the AST id added to it. This |
950 // member variable is a way to pass the information from the call site to | 951 // member variable is a way to pass the information from the call site to |
951 // the relocation info. | 952 // the relocation info. |
952 TypeFeedbackId recorded_ast_id_; | 953 TypeFeedbackId recorded_ast_id_; |
953 | 954 |
954 int32_t buffer_space() const { return reloc_info_writer.pos() - pc_; } | 955 int32_t buffer_space() const { return reloc_info_writer.pos() - pc_; } |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1208 class EnsureSpace BASE_EMBEDDED { | 1209 class EnsureSpace BASE_EMBEDDED { |
1209 public: | 1210 public: |
1210 explicit EnsureSpace(Assembler* assembler) { | 1211 explicit EnsureSpace(Assembler* assembler) { |
1211 assembler->CheckBuffer(); | 1212 assembler->CheckBuffer(); |
1212 } | 1213 } |
1213 }; | 1214 }; |
1214 | 1215 |
1215 } } // namespace v8::internal | 1216 } } // namespace v8::internal |
1216 | 1217 |
1217 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1218 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
OLD | NEW |