aboutsummaryrefslogtreecommitdiffhomepage
path: root/transform/testdata/reflect-implements.out.ll
diff options
context:
space:
mode:
authorDamian Gryski <[email protected]>2023-03-14 17:18:09 -0700
committerRon Evans <[email protected]>2023-03-19 17:45:43 +0100
commite0329b25debea034e9b4e2a9d46806d9388a757b (patch)
tree4351a1515953e96ed21242c553e621ea1907a4ab /transform/testdata/reflect-implements.out.ll
parent229f479a7dab1358f0fd4abecb20751430f56103 (diff)
downloadtinygo-e0329b25debea034e9b4e2a9d46806d9388a757b.tar.gz
tinygo-e0329b25debea034e9b4e2a9d46806d9388a757b.zip
transform: fix OptimizeReflectImplements pass for new named elem offset
Diffstat (limited to 'transform/testdata/reflect-implements.out.ll')
-rw-r--r--transform/testdata/reflect-implements.out.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/transform/testdata/reflect-implements.out.ll b/transform/testdata/reflect-implements.out.ll
index 692d415f8..b7b759c01 100644
--- a/transform/testdata/reflect-implements.out.ll
+++ b/transform/testdata/reflect-implements.out.ll
@@ -1,11 +1,11 @@
target datalayout = "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-f64:32:64-f80:32-n8:16:32-S128"
target triple = "i686--linux"
-@"reflect/types.type:named:error" = internal constant { i8, ptr, ptr } { i8 52, ptr @"reflect/types.type:pointer:named:error", ptr @"reflect/types.type:interface:{Error:func:{}{basic:string}}" }, align 4
+@"reflect/types.type:named:error" = internal constant { i8, i16, ptr, ptr } { i8 52, i16 0, ptr @"reflect/types.type:pointer:named:error", ptr @"reflect/types.type:interface:{Error:func:{}{basic:string}}" }, align 4
@"reflect/types.type:interface:{Error:func:{}{basic:string}}" = internal constant { i8, ptr } { i8 20, ptr @"reflect/types.type:pointer:interface:{Error:func:{}{basic:string}}" }, align 4
@"reflect/types.type:pointer:interface:{Error:func:{}{basic:string}}" = internal constant { i8, ptr } { i8 21, ptr @"reflect/types.type:interface:{Error:func:{}{basic:string}}" }, align 4
-@"reflect/types.type:pointer:named:error" = internal constant { i8, ptr } { i8 21, ptr @"reflect/types.type:named:error" }, align 4
-@"reflect/types.type:pointer:named:reflect.rawType" = internal constant { ptr, i8, ptr } { ptr null, i8 21, ptr null }, align 4
+@"reflect/types.type:pointer:named:error" = internal constant { i8, i16, ptr } { i8 21, i16 0, ptr @"reflect/types.type:named:error" }, align 4
+@"reflect/types.type:pointer:named:reflect.rawType" = internal constant { ptr, i8, i16, ptr } { ptr null, i8 21, i16 0, ptr null }, align 4
@"reflect/methods.Implements(reflect.Type) bool" = internal constant i8 0, align 1
define i1 @main.isError(ptr %typ.typecode, ptr %typ.value, ptr %context) {