| 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 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 // A light-weight ARM Assembler | 37 // A light-weight ARM Assembler |
| 38 // Generates user mode instructions for the ARM architecture up to version 5 | 38 // Generates user mode instructions for the ARM architecture up to version 5 |
| 39 | 39 |
| 40 #ifndef V8_ARM_ASSEMBLER_ARM_H_ | 40 #ifndef V8_ARM_ASSEMBLER_ARM_H_ |
| 41 #define V8_ARM_ASSEMBLER_ARM_H_ | 41 #define V8_ARM_ASSEMBLER_ARM_H_ |
| 42 | 42 |
| 43 #include <stdio.h> | 43 #include <stdio.h> |
| 44 #include <vector> | 44 #include <vector> |
| 45 | 45 |
| 46 #include "assembler.h" | 46 #include "src/assembler.h" |
| 47 #include "constants-arm.h" | 47 #include "src/arm/constants-arm.h" |
| 48 #include "serialize.h" | 48 #include "src/serialize.h" |
| 49 | 49 |
| 50 namespace v8 { | 50 namespace v8 { |
| 51 namespace internal { | 51 namespace internal { |
| 52 | 52 |
| 53 // CPU Registers. | 53 // CPU Registers. |
| 54 // | 54 // |
| 55 // 1) We would prefer to use an enum, but enum values are assignment- | 55 // 1) We would prefer to use an enum, but enum values are assignment- |
| 56 // compatible with int, which has caused code-generation bugs. | 56 // compatible with int, which has caused code-generation bugs. |
| 57 // | 57 // |
| 58 // 2) We would prefer to use a class instead of a struct but we don't like | 58 // 2) We would prefer to use a class instead of a struct but we don't like |
| (...skipping 1570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1629 public: | 1629 public: |
| 1630 explicit EnsureSpace(Assembler* assembler) { | 1630 explicit EnsureSpace(Assembler* assembler) { |
| 1631 assembler->CheckBuffer(); | 1631 assembler->CheckBuffer(); |
| 1632 } | 1632 } |
| 1633 }; | 1633 }; |
| 1634 | 1634 |
| 1635 | 1635 |
| 1636 } } // namespace v8::internal | 1636 } } // namespace v8::internal |
| 1637 | 1637 |
| 1638 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 1638 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
| OLD | NEW |