mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-15 08:23:41 +00:00
all: drop support for LLVM 10
This commit is contained in:
committed by
Ron Evans
parent
afd49e7cdd
commit
90076f9401
Vendored
+8
-8
@@ -14,18 +14,18 @@ target triple = "wasm32-unknown-unknown-wasm"
|
||||
@runtime.trackedGlobalsBitmap.1 = internal global [1 x i8] c"\09"
|
||||
|
||||
define void @main() {
|
||||
%1 = load i32, i32* @globalInt
|
||||
%2 = load %runtime._string, %runtime._string* getelementptr inbounds ({ %runtime._string, %runtime._interface }, { %runtime._string, %runtime._interface }* @tinygo.trackedGlobals, i32 0, i32 0)
|
||||
%3 = load %runtime._interface, %runtime._interface* getelementptr inbounds ({ %runtime._string, %runtime._interface }, { %runtime._string, %runtime._interface }* @tinygo.trackedGlobals, i32 0, i32 1)
|
||||
%4 = load %runtime._string, %runtime._string* @constString
|
||||
%5 = load %runtime._interface, %runtime._interface* @constInterface
|
||||
%1 = load i32, i32* @globalInt, align 4
|
||||
%2 = load %runtime._string, %runtime._string* getelementptr inbounds ({ %runtime._string, %runtime._interface }, { %runtime._string, %runtime._interface }* @tinygo.trackedGlobals, i32 0, i32 0), align 4
|
||||
%3 = load %runtime._interface, %runtime._interface* getelementptr inbounds ({ %runtime._string, %runtime._interface }, { %runtime._string, %runtime._interface }* @tinygo.trackedGlobals, i32 0, i32 1), align 4
|
||||
%4 = load %runtime._string, %runtime._string* @constString, align 4
|
||||
%5 = load %runtime._interface, %runtime._interface* @constInterface, align 4
|
||||
ret void
|
||||
}
|
||||
|
||||
define void @runtime.markGlobals() {
|
||||
%1 = load i32, i32* @runtime.trackedGlobalsStart
|
||||
%2 = load i32, i32* @runtime.trackedGlobalsLength
|
||||
%1 = load i32, i32* @runtime.trackedGlobalsStart, align 4
|
||||
%2 = load i32, i32* @runtime.trackedGlobalsLength, align 4
|
||||
%3 = getelementptr inbounds [0 x i8], [0 x i8]* bitcast ([1 x i8]* @runtime.trackedGlobalsBitmap.1 to [0 x i8]*), i32 0, i32 0
|
||||
%4 = load i8, i8* %3
|
||||
%4 = load i8, i8* %3, align 1
|
||||
ret void
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user