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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 extern const Instr kMovwLeaveCCFlip; | 542 extern const Instr kMovwLeaveCCFlip; |
543 | 543 |
544 extern const Instr kCmpCmnMask; | 544 extern const Instr kCmpCmnMask; |
545 extern const Instr kCmpCmnPattern; | 545 extern const Instr kCmpCmnPattern; |
546 extern const Instr kCmpCmnFlip; | 546 extern const Instr kCmpCmnFlip; |
547 extern const Instr kAddSubFlip; | 547 extern const Instr kAddSubFlip; |
548 extern const Instr kAndBicFlip; | 548 extern const Instr kAndBicFlip; |
549 | 549 |
550 | 550 |
551 | 551 |
552 class Assembler : public Malloced { | 552 class Assembler : public AssemblerBase { |
553 public: | 553 public: |
554 // Create an assembler. Instructions and relocation information are emitted | 554 // Create an assembler. Instructions and relocation information are emitted |
555 // into a buffer, with the instructions starting from the beginning and the | 555 // into a buffer, with the instructions starting from the beginning and the |
556 // relocation information starting from the end of the buffer. See CodeDesc | 556 // relocation information starting from the end of the buffer. See CodeDesc |
557 // for a detailed comment on the layout (globals.h). | 557 // for a detailed comment on the layout (globals.h). |
558 // | 558 // |
559 // If the provided buffer is NULL, the assembler allocates and grows its own | 559 // If the provided buffer is NULL, the assembler allocates and grows its own |
560 // buffer, and buffer_size determines the initial buffer size. The buffer is | 560 // buffer, and buffer_size determines the initial buffer size. The buffer is |
561 // owned by the assembler and deallocated upon destruction of the assembler. | 561 // owned by the assembler and deallocated upon destruction of the assembler. |
562 // | 562 // |
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1310 public: | 1310 public: |
1311 explicit EnsureSpace(Assembler* assembler) { | 1311 explicit EnsureSpace(Assembler* assembler) { |
1312 assembler->CheckBuffer(); | 1312 assembler->CheckBuffer(); |
1313 } | 1313 } |
1314 }; | 1314 }; |
1315 | 1315 |
1316 | 1316 |
1317 } } // namespace v8::internal | 1317 } } // namespace v8::internal |
1318 | 1318 |
1319 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 1319 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
OLD | NEW |