OLD | NEW |
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 15 matching lines...) Expand all Loading... |
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | 27 |
28 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 28 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
29 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 29 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
30 | 30 |
31 #include "assembler.h" | 31 #include "assembler.h" |
32 | 32 |
33 namespace v8 { | 33 namespace v8 { |
34 namespace internal { | 34 namespace internal { |
35 | 35 |
| 36 // Convenience for platform-independent signatures. We do not normally |
| 37 // distinguish memory operands from other operands on ia32. |
| 38 typedef Operand MemOperand; |
| 39 |
36 // Forward declaration. | 40 // Forward declaration. |
37 class JumpTarget; | 41 class JumpTarget; |
38 | 42 |
39 | |
40 // MacroAssembler implements a collection of frequently used macros. | 43 // MacroAssembler implements a collection of frequently used macros. |
41 class MacroAssembler: public Assembler { | 44 class MacroAssembler: public Assembler { |
42 public: | 45 public: |
43 MacroAssembler(void* buffer, int size); | 46 MacroAssembler(void* buffer, int size); |
44 | 47 |
45 // --------------------------------------------------------------------------- | 48 // --------------------------------------------------------------------------- |
46 // GC Support | 49 // GC Support |
47 | 50 |
48 // Set the remembered set bit for [object+offset]. | 51 // Set the remembered set bit for [object+offset]. |
49 // object is the object being stored into, value is the object being stored. | 52 // object is the object being stored into, value is the object being stored. |
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 } \ | 508 } \ |
506 masm-> | 509 masm-> |
507 #else | 510 #else |
508 #define ACCESS_MASM(masm) masm-> | 511 #define ACCESS_MASM(masm) masm-> |
509 #endif | 512 #endif |
510 | 513 |
511 | 514 |
512 } } // namespace v8::internal | 515 } } // namespace v8::internal |
513 | 516 |
514 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 517 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |