Chromium Code Reviews| Index: runtime/vm/assembler.h |
| =================================================================== |
| --- runtime/vm/assembler.h (revision 19556) |
| +++ runtime/vm/assembler.h (working copy) |
| @@ -90,6 +90,11 @@ |
| *reinterpret_cast<T*>(contents_ + position) = value; |
| } |
| + template<typename T> void Backup() { |
|
Ivan Posva
2013/03/07 16:57:41
If you have a better suggestions for this name, su
zra
2013/03/07 17:11:34
Remit?
|
| + ASSERT(Size() >= static_cast<intptr_t>(sizeof(T))); |
| + cursor_ -= sizeof(T); |
| + } |
| + |
| const ZoneGrowableArray<int>& pointer_offsets() const { |
| #if defined(DEBUG) |
| ASSERT(fixups_processed_); |