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

Unified Diff: runtime/vm/assembler.h

Issue 12623002: - Allow the use of branch delay slots. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/assembler_mips.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_);
« no previous file with comments | « no previous file | runtime/vm/assembler_mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698