| 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 24 matching lines...) Expand all Loading... |
| 35 // A light-weight IA32 Assembler. | 35 // A light-weight IA32 Assembler. |
| 36 | 36 |
| 37 #ifndef V8_IA32_ASSEMBLER_IA32_H_ | 37 #ifndef V8_IA32_ASSEMBLER_IA32_H_ |
| 38 #define V8_IA32_ASSEMBLER_IA32_H_ | 38 #define V8_IA32_ASSEMBLER_IA32_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" | 43 #include "src/compiler.h" |
| 44 #include "src/isolate.h" | 44 #include "src/isolate.h" |
| 45 #include "src/serialize.h" | |
| 46 | 45 |
| 47 namespace v8 { | 46 namespace v8 { |
| 48 namespace internal { | 47 namespace internal { |
| 49 | 48 |
| 50 // CPU Registers. | 49 // CPU Registers. |
| 51 // | 50 // |
| 52 // 1) We would prefer to use an enum, but enum values are assignment- | 51 // 1) We would prefer to use an enum, but enum values are assignment- |
| 53 // compatible with int, which has caused code-generation bugs. | 52 // compatible with int, which has caused code-generation bugs. |
| 54 // | 53 // |
| 55 // 2) We would prefer to use a class instead of a struct but we don't like | 54 // 2) We would prefer to use a class instead of a struct but we don't like |
| (...skipping 1383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1439 private: | 1438 private: |
| 1440 Assembler* assembler_; | 1439 Assembler* assembler_; |
| 1441 #ifdef DEBUG | 1440 #ifdef DEBUG |
| 1442 int space_before_; | 1441 int space_before_; |
| 1443 #endif | 1442 #endif |
| 1444 }; | 1443 }; |
| 1445 | 1444 |
| 1446 } } // namespace v8::internal | 1445 } } // namespace v8::internal |
| 1447 | 1446 |
| 1448 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 1447 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
| OLD | NEW |