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

Unified Diff: vm/assembler_ia32.cc

Issue 10758008: - On store buffer block overflow call a VM leaf function to (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « vm/assembler_ia32.h ('k') | vm/assembler_x64.h » ('j') | vm/store_buffer.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/assembler_ia32.cc
===================================================================
--- vm/assembler_ia32.cc (revision 9468)
+++ vm/assembler_ia32.cc (working copy)
@@ -1525,6 +1525,20 @@
}
+void Assembler::PreserveCallerSavedRegisters() {
+ pushl(EAX);
+ pushl(ECX);
+ pushl(EDX);
+}
+
+
+void Assembler::RestoreCallerSavedRegisters() {
+ popl(EDX);
+ popl(ECX);
+ popl(EAX);
+}
+
+
void Assembler::CallRuntime(const RuntimeEntry& entry) {
entry.Call(this);
}
« no previous file with comments | « vm/assembler_ia32.h ('k') | vm/assembler_x64.h » ('j') | vm/store_buffer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698