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 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1020 // Use --trace-deopt to enable. | 1020 // Use --trace-deopt to enable. |
1021 void RecordDeoptReason(const int reason, const int raw_position); | 1021 void RecordDeoptReason(const int reason, const int raw_position); |
1022 | 1022 |
1023 | 1023 |
1024 static int RelocateInternalReference(byte* pc, intptr_t pc_delta); | 1024 static int RelocateInternalReference(byte* pc, intptr_t pc_delta); |
1025 | 1025 |
1026 // Writes a single byte or word of data in the code stream. Used for | 1026 // Writes a single byte or word of data in the code stream. Used for |
1027 // inline tables, e.g., jump-tables. | 1027 // inline tables, e.g., jump-tables. |
1028 void db(uint8_t data); | 1028 void db(uint8_t data); |
1029 void dd(uint32_t data); | 1029 void dd(uint32_t data); |
| 1030 void dd(Label* label); |
1030 | 1031 |
1031 // Emits the address of the code stub's first instruction. | 1032 // Emits the address of the code stub's first instruction. |
1032 void emit_code_stub_address(Code* stub); | 1033 void emit_code_stub_address(Code* stub); |
1033 | 1034 |
1034 PositionsRecorder* positions_recorder() { return &positions_recorder_; } | 1035 PositionsRecorder* positions_recorder() { return &positions_recorder_; } |
1035 | 1036 |
1036 // Postpone the generation of the trampoline pool for the specified number of | 1037 // Postpone the generation of the trampoline pool for the specified number of |
1037 // instructions. | 1038 // instructions. |
1038 void BlockTrampolinePoolFor(int instructions); | 1039 void BlockTrampolinePoolFor(int instructions); |
1039 | 1040 |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1379 class EnsureSpace BASE_EMBEDDED { | 1380 class EnsureSpace BASE_EMBEDDED { |
1380 public: | 1381 public: |
1381 explicit EnsureSpace(Assembler* assembler) { | 1382 explicit EnsureSpace(Assembler* assembler) { |
1382 assembler->CheckBuffer(); | 1383 assembler->CheckBuffer(); |
1383 } | 1384 } |
1384 }; | 1385 }; |
1385 | 1386 |
1386 } } // namespace v8::internal | 1387 } } // namespace v8::internal |
1387 | 1388 |
1388 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1389 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
OLD | NEW |