Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: src/x64/macro-assembler-x64.h

Issue 7277038: make gc branch compile on Win32. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« src/platform-win32.cc ('K') | « src/x64/assembler-x64-inl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« src/platform-win32.cc ('K') | « src/x64/assembler-x64-inl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698