Chromium Code Reviews| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 71 class MacroAssembler: public Assembler { | 71 class MacroAssembler: public Assembler { |
| 72 public: | 72 public: |
| 73 MacroAssembler(void* buffer, int size); | 73 MacroAssembler(void* buffer, int size); |
| 74 | 74 |
| 75 void LoadRoot(Register destination, Heap::RootListIndex index); | 75 void LoadRoot(Register destination, Heap::RootListIndex index); |
| 76 void CompareRoot(Register with, Heap::RootListIndex index); | 76 void CompareRoot(Register with, Heap::RootListIndex index); |
| 77 void CompareRoot(const Operand& with, Heap::RootListIndex index); | 77 void CompareRoot(const Operand& with, Heap::RootListIndex index); |
| 78 void PushRoot(Heap::RootListIndex index); | 78 void PushRoot(Heap::RootListIndex index); |
| 79 void StoreRoot(Register source, Heap::RootListIndex index); | 79 void StoreRoot(Register source, Heap::RootListIndex index); |
| 80 | 80 |
| 81 // --------------------------------------------------------------------------- | 81 // --------------------------------------------------------------------------- |
|
Vyacheslav Egorov (Chromium)
2011/06/28 12:28:37
Accidental edit?
Lasse Reichstein
2011/06/29 10:54:58
Deliberate. No need to indent the separator.
| |
| 82 // GC Support | 82 // GC Support |
| 83 | |
| 83 | 84 |
| 84 // For page containing |object| mark region covering |addr| dirty. | 85 // For page containing |object| mark region covering |addr| dirty. |
| 85 // RecordWriteHelper only works if the object is not in new | 86 // RecordWriteHelper only works if the object is not in new |
| 86 // space. | 87 // space. |
| 87 void RecordWriteHelper(Register object, | 88 void RecordWriteHelper(Register object, |
| 88 Register addr, | 89 Register addr, |
| 89 Register scratch, | 90 Register scratch, |
| 90 SaveFPRegsMode save_fp); | 91 SaveFPRegsMode save_fp); |
| 91 | 92 |
| 92 // Check if object is in new space. The condition cc can be equal or | 93 // Check if object is in new space. The condition cc can be equal or |
| (...skipping 1723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1816 Jump(adaptor, RelocInfo::CODE_TARGET); | 1817 Jump(adaptor, RelocInfo::CODE_TARGET); |
| 1817 } | 1818 } |
| 1818 bind(&invoke); | 1819 bind(&invoke); |
| 1819 } | 1820 } |
| 1820 } | 1821 } |
| 1821 | 1822 |
| 1822 | 1823 |
| 1823 } } // namespace v8::internal | 1824 } } // namespace v8::internal |
| 1824 | 1825 |
| 1825 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1826 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |