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 21 matching lines...) Expand all Loading... |
32 // modified significantly by Google Inc. | 32 // modified significantly by Google Inc. |
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/serialize.h" | 43 #include "src/serialize.h" |
43 | 44 |
44 namespace v8 { | 45 namespace v8 { |
45 namespace internal { | 46 namespace internal { |
46 | 47 |
47 // Utility functions | 48 // Utility functions |
48 | 49 |
49 // CPU Registers. | 50 // CPU Registers. |
50 // | 51 // |
51 // 1) We would prefer to use an enum, but enum values are assignment- | 52 // 1) We would prefer to use an enum, but enum values are assignment- |
(...skipping 1800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1852 private: | 1853 private: |
1853 Assembler* assembler_; | 1854 Assembler* assembler_; |
1854 #ifdef DEBUG | 1855 #ifdef DEBUG |
1855 int space_before_; | 1856 int space_before_; |
1856 #endif | 1857 #endif |
1857 }; | 1858 }; |
1858 | 1859 |
1859 } } // namespace v8::internal | 1860 } } // namespace v8::internal |
1860 | 1861 |
1861 #endif // V8_X64_ASSEMBLER_X64_H_ | 1862 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |