compiler: update testdata/string.ll
$ go test ./compiler -update
Этот коммит содержится в:
родитель
aeddcd9c5f
коммит
0e7a129de7
1 изменённых файлов: 2 добавлений и 3 удалений
5
compiler/testdata/string.ll
предоставленный
5
compiler/testdata/string.ll
предоставленный
|
@ -71,9 +71,8 @@ entry:
|
||||||
; Function Attrs: nounwind
|
; Function Attrs: nounwind
|
||||||
define hidden i1 @main.stringCompareLarger(i8* %s1.data, i32 %s1.len, i8* %s2.data, i32 %s2.len, i8* %context, i8* %parentHandle) unnamed_addr #0 {
|
define hidden i1 @main.stringCompareLarger(i8* %s1.data, i32 %s1.len, i8* %s2.data, i32 %s2.len, i8* %context, i8* %parentHandle) unnamed_addr #0 {
|
||||||
entry:
|
entry:
|
||||||
%0 = call i1 @runtime.stringLess(i8* %s1.data, i32 %s1.len, i8* %s2.data, i32 %s2.len, i8* undef, i8* null) #0
|
%0 = call i1 @runtime.stringLess(i8* %s2.data, i32 %s2.len, i8* %s1.data, i32 %s1.len, i8* undef, i8* null) #0
|
||||||
%1 = xor i1 %0, true
|
ret i1 %0
|
||||||
ret i1 %1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
declare i1 @runtime.stringLess(i8*, i32, i8*, i32, i8*, i8*)
|
declare i1 @runtime.stringLess(i8*, i32, i8*, i32, i8*, i8*)
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче