Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: src/ppc/assembler-ppc.h

Issue 1397493002: Make assembler not include the entire compiler. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/mips64/assembler-mips64.h ('k') | src/x64/assembler-x64.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 26 matching lines...) Expand all
37 // A light-weight PPC Assembler 37 // A light-weight PPC Assembler
38 // Generates user mode instructions for the PPC architecture up 38 // Generates user mode instructions for the PPC architecture up
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"
48 #include "src/ppc/constants-ppc.h" 47 #include "src/ppc/constants-ppc.h"
49 48
50 #define ABI_USES_FUNCTION_DESCRIPTORS \ 49 #define ABI_USES_FUNCTION_DESCRIPTORS \
51 (V8_HOST_ARCH_PPC && (V8_OS_AIX || \ 50 (V8_HOST_ARCH_PPC && (V8_OS_AIX || \
52 (V8_TARGET_ARCH_PPC64 && V8_TARGET_BIG_ENDIAN))) 51 (V8_TARGET_ARCH_PPC64 && V8_TARGET_BIG_ENDIAN)))
53 52
54 #define ABI_PASSES_HANDLES_IN_REGS \ 53 #define ABI_PASSES_HANDLES_IN_REGS \
55 (!V8_HOST_ARCH_PPC || V8_OS_AIX || V8_TARGET_ARCH_PPC64) 54 (!V8_HOST_ARCH_PPC || V8_OS_AIX || V8_TARGET_ARCH_PPC64)
56 55
57 #define ABI_RETURNS_OBJECT_PAIRS_IN_REGS \ 56 #define ABI_RETURNS_OBJECT_PAIRS_IN_REGS \
(...skipping 1387 matching lines...) Expand 10 before | Expand all | Expand 10 after
1445 1444
1446 1445
1447 class EnsureSpace BASE_EMBEDDED { 1446 class EnsureSpace BASE_EMBEDDED {
1448 public: 1447 public:
1449 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); } 1448 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); }
1450 }; 1449 };
1451 } // namespace internal 1450 } // namespace internal
1452 } // namespace v8 1451 } // namespace v8
1453 1452
1454 #endif // V8_PPC_ASSEMBLER_PPC_H_ 1453 #endif // V8_PPC_ASSEMBLER_PPC_H_
OLDNEW
« no previous file with comments | « src/mips64/assembler-mips64.h ('k') | src/x64/assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698