| 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 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 // The original source code covered by the above license above has been | 31 // The original source code covered by the above license above has been |
| 32 // modified significantly by Google Inc. | 32 // modified significantly by Google Inc. |
| 33 // Copyright 2011 the V8 project authors. All rights reserved. | 33 // Copyright 2011 the V8 project authors. All rights reserved. |
| 34 | 34 |
| 35 // A light-weight IA32 Assembler. | 35 // A light-weight IA32 Assembler. |
| 36 | 36 |
| 37 #ifndef V8_X87_ASSEMBLER_X87_H_ | 37 #ifndef V8_X87_ASSEMBLER_X87_H_ |
| 38 #define V8_X87_ASSEMBLER_X87_H_ | 38 #define V8_X87_ASSEMBLER_X87_H_ |
| 39 | 39 |
| 40 #include "isolate.h" | 40 #include "src/isolate.h" |
| 41 #include "serialize.h" | 41 #include "src/serialize.h" |
| 42 | 42 |
| 43 namespace v8 { | 43 namespace v8 { |
| 44 namespace internal { | 44 namespace internal { |
| 45 | 45 |
| 46 // CPU Registers. | 46 // CPU Registers. |
| 47 // | 47 // |
| 48 // 1) We would prefer to use an enum, but enum values are assignment- | 48 // 1) We would prefer to use an enum, but enum values are assignment- |
| 49 // compatible with int, which has caused code-generation bugs. | 49 // compatible with int, which has caused code-generation bugs. |
| 50 // | 50 // |
| 51 // 2) We would prefer to use a class instead of a struct but we don't like | 51 // 2) We would prefer to use a class instead of a struct but we don't like |
| (...skipping 970 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1022 private: | 1022 private: |
| 1023 Assembler* assembler_; | 1023 Assembler* assembler_; |
| 1024 #ifdef DEBUG | 1024 #ifdef DEBUG |
| 1025 int space_before_; | 1025 int space_before_; |
| 1026 #endif | 1026 #endif |
| 1027 }; | 1027 }; |
| 1028 | 1028 |
| 1029 } } // namespace v8::internal | 1029 } } // namespace v8::internal |
| 1030 | 1030 |
| 1031 #endif // V8_X87_ASSEMBLER_X87_H_ | 1031 #endif // V8_X87_ASSEMBLER_X87_H_ |
| OLD | NEW |