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

Unified Diff: runtime/vm/stub_code.cc

Issue 484693003: Improve polymorphic inlining of int/int double/double operations. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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
Index: runtime/vm/stub_code.cc
===================================================================
--- runtime/vm/stub_code.cc (revision 39328)
+++ runtime/vm/stub_code.cc (working copy)
@@ -133,6 +133,21 @@
}
+uword StubCode::UnoptimizedStaticCallEntryPoint(intptr_t num_args_tested) {
+ switch (num_args_tested) {
+ case 0:
+ return ZeroArgsUnoptimizedStaticCallEntryPoint();
+ case 1:
+ return OneArgUnoptimizedStaticCallEntryPoint();
+ case 2:
+ return TwoArgsUnoptimizedStaticCallEntryPoint();
+ default:
+ UNIMPLEMENTED();
+ return 0;
+ }
+}
+
+
RawCode* StubCode::Generate(const char* name,
void (*GenerateStub)(Assembler* assembler)) {
Assembler assembler;

Powered by Google App Engine
This is Rietveld 408576698