| 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 28 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 #ifndef V8_PPC_ASSEMBLER_PPC_H_ | 40 #ifndef V8_PPC_ASSEMBLER_PPC_H_ |
| 41 #define V8_PPC_ASSEMBLER_PPC_H_ | 41 #define V8_PPC_ASSEMBLER_PPC_H_ |
| 42 | 42 |
| 43 #include <stdio.h> | 43 #include <stdio.h> |
| 44 #include <vector> | 44 #include <vector> |
| 45 | 45 |
| 46 #include "src/assembler.h" | 46 #include "src/assembler.h" |
| 47 #include "src/compiler.h" | 47 #include "src/compiler.h" |
| 48 #include "src/ppc/constants-ppc.h" | 48 #include "src/ppc/constants-ppc.h" |
| 49 #include "src/serialize.h" | |
| 50 | 49 |
| 51 #define ABI_USES_FUNCTION_DESCRIPTORS \ | 50 #define ABI_USES_FUNCTION_DESCRIPTORS \ |
| 52 (V8_HOST_ARCH_PPC && (V8_OS_AIX || \ | 51 (V8_HOST_ARCH_PPC && (V8_OS_AIX || \ |
| 53 (V8_TARGET_ARCH_PPC64 && V8_TARGET_BIG_ENDIAN))) | 52 (V8_TARGET_ARCH_PPC64 && V8_TARGET_BIG_ENDIAN))) |
| 54 | 53 |
| 55 #define ABI_PASSES_HANDLES_IN_REGS \ | 54 #define ABI_PASSES_HANDLES_IN_REGS \ |
| 56 (!V8_HOST_ARCH_PPC || V8_OS_AIX || V8_TARGET_ARCH_PPC64) | 55 (!V8_HOST_ARCH_PPC || V8_OS_AIX || V8_TARGET_ARCH_PPC64) |
| 57 | 56 |
| 58 #define ABI_RETURNS_OBJECT_PAIRS_IN_REGS \ | 57 #define ABI_RETURNS_OBJECT_PAIRS_IN_REGS \ |
| 59 (!V8_HOST_ARCH_PPC || !V8_TARGET_ARCH_PPC64 || V8_TARGET_LITTLE_ENDIAN) | 58 (!V8_HOST_ARCH_PPC || !V8_TARGET_ARCH_PPC64 || V8_TARGET_LITTLE_ENDIAN) |
| (...skipping 1383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1443 | 1442 |
| 1444 | 1443 |
| 1445 class EnsureSpace BASE_EMBEDDED { | 1444 class EnsureSpace BASE_EMBEDDED { |
| 1446 public: | 1445 public: |
| 1447 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); } | 1446 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); } |
| 1448 }; | 1447 }; |
| 1449 } | 1448 } |
| 1450 } // namespace v8::internal | 1449 } // namespace v8::internal |
| 1451 | 1450 |
| 1452 #endif // V8_PPC_ASSEMBLER_PPC_H_ | 1451 #endif // V8_PPC_ASSEMBLER_PPC_H_ |
| OLD | NEW |