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

Unified Diff: runtime/vm/assembler_x64.cc

Issue 1189573004: Use object pool for runtime calls. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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 | « runtime/vm/assembler_x64.h ('k') | runtime/vm/runtime_entry_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_x64.cc
diff --git a/runtime/vm/assembler_x64.cc b/runtime/vm/assembler_x64.cc
index 3dcb7dfa69e2f22238a6de1e9560da8903cd1340..02f85df28f4f56b83919f123968bdf7f207599e1 100644
--- a/runtime/vm/assembler_x64.cc
+++ b/runtime/vm/assembler_x64.cc
@@ -3206,7 +3206,7 @@ void Assembler::Stop(const char* message, bool fixed_length_encoding) {
} else {
LoadImmediate(RDI, Immediate(message_address), PP);
}
- call(&StubCode::PrintStopMessageLabel());
+ call(&Isolate::Current()->stub_code()->PrintStopMessageLabel());
popq(RDI); // Restore RDI register.
popq(TMP); // Restore TMP register.
} else {
@@ -3444,13 +3444,11 @@ void Assembler::EnterOsrFrame(intptr_t extra_size,
}
-void Assembler::EnterStubFrame(bool load_pp) {
+void Assembler::EnterStubFrame() {
EnterFrame(0);
pushq(Immediate(0)); // Push 0 in the saved PC area for stub frames.
pushq(PP); // Save caller's pool pointer
- if (load_pp) {
- LoadPoolPointer(PP);
- }
+ LoadPoolPointer(PP);
}
« no previous file with comments | « runtime/vm/assembler_x64.h ('k') | runtime/vm/runtime_entry_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698