mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:07:49 +00:00
Include the canonical static closure when serializing ClosureData.
BUG=http://dartbug.com/25892 R=asiva@google.com Review URL: https://codereview.chromium.org/1771483002 .
This commit is contained in:
parent
f5d284ca9c
commit
e880063e88
|
@ -732,9 +732,8 @@ void RawClosureData::WriteTo(SnapshotWriter* writer,
|
|||
// Signature type.
|
||||
writer->WriteObjectImpl(ptr()->signature_type_, kAsInlinedObject);
|
||||
|
||||
// Static closure/Closure allocation stub.
|
||||
// We don't write the closure or allocation stub in the snapshot.
|
||||
writer->WriteVMIsolateObject(kNullObject);
|
||||
// Canonical static closure.
|
||||
writer->WriteObjectImpl(ptr()->closure_, kAsInlinedObject);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -161,10 +161,6 @@ stacktrace_message_test: SkipByDesign
|
|||
static_function_test: SkipByDesign
|
||||
unresolved_ports_test: SkipByDesign
|
||||
|
||||
[ $compiler == precompiler ]
|
||||
function_send_test: RuntimeError # Issue 25892
|
||||
message3_test/fun: RuntimeError # Issue 25892
|
||||
|
||||
[ $runtime == dart_precompiled || $runtime == dart_product ]
|
||||
deferred_in_isolate_test: Skip # Isolate.spawnUri
|
||||
deferred_in_isolate2_test: Skip # Isolate.spawnUri
|
||||
|
|
Loading…
Reference in a new issue