| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 // new space. | 44 // new space. |
| 45 RESULT_CONTAINS_TOP = 1 << 1 | 45 RESULT_CONTAINS_TOP = 1 << 1 |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 // Convenience for platform-independent signatures. We do not normally | 48 // Convenience for platform-independent signatures. We do not normally |
| 49 // distinguish memory operands from other operands on ia32. | 49 // distinguish memory operands from other operands on ia32. |
| 50 typedef Operand MemOperand; | 50 typedef Operand MemOperand; |
| 51 | 51 |
| 52 enum EmitRememberedSet { EMIT_REMEMBERED_SET, OMIT_REMEMBERED_SET }; | 52 enum EmitRememberedSet { EMIT_REMEMBERED_SET, OMIT_REMEMBERED_SET }; |
| 53 enum SmiCheck { INLINE_SMI_CHECK, OMIT_SMI_CHECK }; | 53 enum SmiCheck { INLINE_SMI_CHECK, OMIT_SMI_CHECK }; |
| 54 enum ObjectMode { PRESERVE_OBJECT, DESTROY_OBJECT }; | |
| 55 enum ValueMode { PRESERVE_VALUE, DESTROY_VALUE }; | |
| 56 enum AddressMode { PRESERVE_ADDRESS, DESTROY_ADDRESS }; | |
| 57 | 54 |
| 58 bool Aliasing(Register r1, Register r2, Register r3, Register r4); | 55 bool Aliasing(Register r1, Register r2, Register r3, Register r4); |
| 59 | 56 |
| 60 // MacroAssembler implements a collection of frequently used macros. | 57 // MacroAssembler implements a collection of frequently used macros. |
| 61 class MacroAssembler: public Assembler { | 58 class MacroAssembler: public Assembler { |
| 62 public: | 59 public: |
| 63 // The isolate parameter can be NULL if the macro assembler should | 60 // The isolate parameter can be NULL if the macro assembler should |
| 64 // not use isolate-dependent functionality. In this case, it's the | 61 // not use isolate-dependent functionality. In this case, it's the |
| 65 // responsibility of the caller to never invoke such function on the | 62 // responsibility of the caller to never invoke such function on the |
| 66 // macro assembler. | 63 // macro assembler. |
| (...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 903 } \ | 900 } \ |
| 904 masm-> | 901 masm-> |
| 905 #else | 902 #else |
| 906 #define ACCESS_MASM(masm) masm-> | 903 #define ACCESS_MASM(masm) masm-> |
| 907 #endif | 904 #endif |
| 908 | 905 |
| 909 | 906 |
| 910 } } // namespace v8::internal | 907 } } // namespace v8::internal |
| 911 | 908 |
| 912 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 909 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |