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

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: rebased and addressed comments 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
« no previous file with comments | « runtime/vm/stub_code.h ('k') | runtime/vm/stub_code_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code.cc
===================================================================
--- runtime/vm/stub_code.cc (revision 39445)
+++ 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;
« no previous file with comments | « runtime/vm/stub_code.h ('k') | runtime/vm/stub_code_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698