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 22 matching lines...) Expand all Loading... |
33 // Copyright 2012 the V8 project authors. All rights reserved. | 33 // Copyright 2012 the V8 project authors. All rights reserved. |
34 | 34 |
35 // A lightweight X64 Assembler. | 35 // A lightweight X64 Assembler. |
36 | 36 |
37 #ifndef V8_X64_ASSEMBLER_X64_H_ | 37 #ifndef V8_X64_ASSEMBLER_X64_H_ |
38 #define V8_X64_ASSEMBLER_X64_H_ | 38 #define V8_X64_ASSEMBLER_X64_H_ |
39 | 39 |
40 #include <deque> | 40 #include <deque> |
41 | 41 |
42 #include "src/assembler.h" | 42 #include "src/assembler.h" |
43 #include "src/compiler.h" | |
44 | 43 |
45 namespace v8 { | 44 namespace v8 { |
46 namespace internal { | 45 namespace internal { |
47 | 46 |
48 // Utility functions | 47 // Utility functions |
49 | 48 |
50 #define GENERAL_REGISTERS(V) \ | 49 #define GENERAL_REGISTERS(V) \ |
51 V(rax) \ | 50 V(rax) \ |
52 V(rcx) \ | 51 V(rcx) \ |
53 V(rdx) \ | 52 V(rdx) \ |
(...skipping 2051 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2105 Assembler* assembler_; | 2104 Assembler* assembler_; |
2106 #ifdef DEBUG | 2105 #ifdef DEBUG |
2107 int space_before_; | 2106 int space_before_; |
2108 #endif | 2107 #endif |
2109 }; | 2108 }; |
2110 | 2109 |
2111 } // namespace internal | 2110 } // namespace internal |
2112 } // namespace v8 | 2111 } // namespace v8 |
2113 | 2112 |
2114 #endif // V8_X64_ASSEMBLER_X64_H_ | 2113 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |