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

Unified Diff: runtime/vm/stub_code_x64.cc

Issue 11364184: Remove unused/not working function tracing flag and functionality. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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
« runtime/vm/intermediate_language_ia32.cc ('K') | « runtime/vm/stub_code_ia32.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code_x64.cc
===================================================================
--- runtime/vm/stub_code_x64.cc (revision 14749)
+++ runtime/vm/stub_code_x64.cc (working copy)
@@ -2030,6 +2030,20 @@
__ jmp(&compute_result, Assembler::kNearJump);
}
+// Calls to runtime to ooptimized give function
+// RDX: function to be reoptimized.
+// RAX: result of function being optimized (preserved).
+void StubCode::GenerateOptimizeFunctionStub(Assembler* assembler) {
+ AssemblerMacros::EnterStubFrame(assembler);
+ __ pushq(RAX);
+ __ pushq(RDX);
+ __ CallRuntime(kOptimizeInvokedFunctionRuntimeEntry);
+ __ popq(RDX);
+ __ popq(RAX);
+ __ LeaveFrame();
+ __ ret();
+}
+
} // namespace dart
#endif // defined TARGET_ARCH_X64
« runtime/vm/intermediate_language_ia32.cc ('K') | « runtime/vm/stub_code_ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698