OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 class PostCallGenerator; | 54 class PostCallGenerator; |
55 | 55 |
56 // MacroAssembler implements a collection of frequently used macros. | 56 // MacroAssembler implements a collection of frequently used macros. |
57 class MacroAssembler: public Assembler { | 57 class MacroAssembler: public Assembler { |
58 public: | 58 public: |
59 MacroAssembler(void* buffer, int size); | 59 MacroAssembler(void* buffer, int size); |
60 | 60 |
61 // --------------------------------------------------------------------------- | 61 // --------------------------------------------------------------------------- |
62 // GC Support | 62 // GC Support |
63 | 63 |
| 64 void IncrementalMarkingRecordWrite(Register object, |
| 65 Register value, |
| 66 Register scratch); |
| 67 |
64 // For page containing |object| mark region covering |addr| dirty. | 68 // For page containing |object| mark region covering |addr| dirty. |
65 // RecordWriteHelper only works if the object is not in new | 69 // RecordWriteHelper only works if the object is not in new |
66 // space. | 70 // space. |
67 void RecordWriteHelper(Register object, | 71 void RecordWriteHelper(Register object, |
68 Register addr, | 72 Register addr, |
69 Register scratch, | 73 Register scratch, |
70 SaveFPRegsMode save_fp); | 74 SaveFPRegsMode save_fp); |
71 | 75 |
72 // Check if object is in new space. | 76 // Check if object is in new space. |
73 // scratch can be object itself, but it will be clobbered. | 77 // scratch can be object itself, but it will be clobbered. |
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
779 } \ | 783 } \ |
780 masm-> | 784 masm-> |
781 #else | 785 #else |
782 #define ACCESS_MASM(masm) masm-> | 786 #define ACCESS_MASM(masm) masm-> |
783 #endif | 787 #endif |
784 | 788 |
785 | 789 |
786 } } // namespace v8::internal | 790 } } // namespace v8::internal |
787 | 791 |
788 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 792 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |