Aske Simon Christensen
8cb752f73b
Revised "Eliminate dependencies on assemblers and code stubs in precompiled runtime."
...
Explicitly clear unbox_numeric_fields flag in PRODUCT builds. Fixes code bloat introduced by previous CL. New changes in Patch Set 2.
BUG= https://github.com/dart-lang/sdk/issues/30045
R=vegorov@google.com
Review-Url: https://codereview.chromium.org/3006923002 .
2017-09-04 13:13:26 +02:00
Ryan Macnak
9ce7fb5929
Revert "Reapply "Eliminate dependencies on assemblers and code stubs in precompiled runtime.""
...
This reverts commit 8ee4436355 .
This change caused a 63% increase in AOT snapshot size of Flutter Gallery.
Issue #30472
Review-Url: https://codereview.chromium.org/2997993002 .
2017-08-17 13:33:37 -07:00
Aske Simon Christensen
8ee4436355
Reapply "Eliminate dependencies on assemblers and code stubs in precompiled runtime."
...
Also exclude references to disassembler in precompiled mode.
New edits are in patch set #2 .
BUG= https://github.com/dart-lang/sdk/issues/30045
R=rmacnak@google.com
Review-Url: https://codereview.chromium.org/2994863002 .
2017-08-12 02:15:23 +02:00
Ryan Macnak
3afd223f90
[gardening] Revert "Eliminate dependencies on assemblers and code stubs in precompiled runtime."
...
This reverts commit 46c53882cc .
This changes introduced link errors on Windows.
Review-Url: https://codereview.chromium.org/3001463002 .
2017-08-09 15:49:51 -07:00
Aske Simon Christensen
46c53882cc
Eliminate dependencies on assemblers and code stubs in precompiled runtime.
...
Guard all excluded code behind conditional compilation.
Removed precompiled runtime flag. Only preprocessor flag remains.
BUG= https://github.com/dart-lang/sdk/issues/30045
R=rmacnak@google.com , zra@google.com
Review-Url: https://codereview.chromium.org/2976723003 .
2017-08-09 22:21:34 +02:00
Zachary Anderson
103881d01c
Make header include guards great again
...
i.e. #ifndef VM_WHATEVER -> #ifndef RUNTIME_VM_WHATEVER
This lets us remove a hack from the PRESUBMIT.py script that existed
for reasons that are no longer valid, and sets us up to add some
presubmit checks for the GN build.
R=asiva@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org/2450713004 .
2016-10-26 00:26:03 -07:00
Ryan Macnak
9de6b3be0a
Move selector and arguments descriptor into MegamorphicCache.
...
Towards making call sites swappable between ICs and MegamorphicCaches.
R=srdjan@google.com
Review URL: https://codereview.chromium.org/1420433004 .
2015-10-20 13:44:21 -07:00
Ryan Macnak
491b1d42f8
Reapply "Move megamorphic cache table into the Dart heap."
...
Prevent megamorphic miss function from losing its code:
- Only include megamorphic function in precompiled snapshots.
- Also put the megamorphic miss code in the object store.
R=asiva@google.com
Review URL: https://codereview.chromium.org//1339363002 .
2015-09-15 11:18:43 -07:00
Ryan Macnak
33b037125f
Revert "Move megamorphic cache table into the Dart heap."
...
We're somewhere attempting to recompile the megamoprhic miss function.
Review URL: https://codereview.chromium.org//1334283004 .
2015-09-14 17:54:43 -07:00
Ryan Macnak
3068f1e092
Move megamorphic cache table into the Dart heap.
...
R=asiva@google.com
Review URL: https://codereview.chromium.org//1346473002 .
2015-09-14 17:11:55 -07:00
zra@google.com
daf539e2f9
Fixes a couple problems with GC of unoptimized code.
...
1. Instead of making a pass before the Marking phase,
this change does not visit code pointers in functions
during marking. Then after marking, if the code has
still not been marked, code pointers in functions
are nulled out.
2. Since code pointers in functions may be nulled out,
functions are no longer used as proxies for code in
deoptimization info.
R=iposva@google.com , srdjan@google.com
Review URL: https://codereview.chromium.org//70183010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30600 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-23 00:17:28 +00:00
kmillikin@google.com
a119414b2f
Cache lookups at megamorphic call sites in optimized code.
...
The function name and argument descriptor are mapped to a lookup cache
at compile time. The cache maps class id to target function. It is
resizable.
Review URL: https://codereview.chromium.org//11299298
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15889 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-10 09:48:52 +00:00