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

Unified Diff: runtime/vm/assembler_ia32.h

Issue 10820053: Fix kStoreBufferBlockProcessRuntimeEntry call sequence. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: always restore stack pointer 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 | « no previous file | runtime/vm/assembler_ia32.cc » ('j') | runtime/vm/assembler_ia32.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_ia32.h
diff --git a/runtime/vm/assembler_ia32.h b/runtime/vm/assembler_ia32.h
index 21935a27d09933036c3a255accb856cbfa09b5ac..3bd3096cd76c4498979793703b53e70b80b7124a 100644
--- a/runtime/vm/assembler_ia32.h
+++ b/runtime/vm/assembler_ia32.h
@@ -525,9 +525,11 @@ class Assembler : public ValueObject {
void LeaveFrame();
void ReserveAlignedFrameSpace(intptr_t frame_space);
- // Preserve and restore caller save registers according to the C ABI.
- void PreserveCallerSavedRegisters();
- void RestoreCallerSavedRegisters();
+ // Create a frame for calling into runtime that preserves all volatile
+ // registers. Frame's RSP is guaranteed to be correctly aligned and
+ // frame_space bytes are reserved under it.
+ void EnterCallRuntimeFrame(intptr_t frame_space);
+ void LeaveCallRuntimeFrame();
void CallRuntime(const RuntimeEntry& entry);
« no previous file with comments | « no previous file | runtime/vm/assembler_ia32.cc » ('j') | runtime/vm/assembler_ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698