File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
validation-test/Reflection Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -385,7 +385,7 @@ class ReflectionContext
385
385
//
386
386
// Metadata bindings are stored consecutively at the beginning of the
387
387
// closure context.
388
- unsigned Offset = ((sizeof (StoredPointer) == 4 ? 12 : 8 ) +
388
+ unsigned Offset = ((sizeof (StoredPointer) == 4 ? 12 : 16 ) +
389
389
sizeof (StoredPointer) * Index);
390
390
391
391
StoredPointer MetadataAddress;
Original file line number Diff line number Diff line change 1
1
// RUN: rm -rf %t && mkdir -p %t
2
2
// RUN: %target-build-swift -Xfrontend -enable-reflection-metadata -Xfrontend -enable-reflection-names -lswiftSwiftReflectionTest %s -o %t/functions
3
- // RUN: %target-run %target-swift-reflection-test %t/functions 2>&1 | FileCheck %s --check-prefix=CHECK-%target-ptrsize
3
+ // RUN: %target-run %target-swift-reflection-test %t/functions 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK -%target-ptrsize
4
4
// REQUIRES: objc_interop
5
5
6
6
/*
You can’t perform that action at this time.
0 commit comments