Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFadi Hanna <fadim@microsoft.com>2016-11-03 04:04:16 +0300
committerFadi Hanna <fadim@microsoft.com>2016-11-03 04:04:16 +0300
commitbf89001a6f2743649c9771c45431f9184321d33c (patch)
tree523ab69c162611803dbf17ca199a0069e38f4dde /src/Native/Runtime/i386
parentccc7c765df2f3afa80c051864e7d7082d09f0182 (diff)
The number of thunk blocks per mapping in CoreRT will be more dynamic. Removing the hardcoded number, and making it into a function call.
[tfs-changeset: 1636433]
Diffstat (limited to 'src/Native/Runtime/i386')
-rw-r--r--src/Native/Runtime/i386/ThunkPoolThunks.asm7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Native/Runtime/i386/ThunkPoolThunks.asm b/src/Native/Runtime/i386/ThunkPoolThunks.asm
index a3f180146..27a40ec02 100644
--- a/src/Native/Runtime/i386/ThunkPoolThunks.asm
+++ b/src/Native/Runtime/i386/ThunkPoolThunks.asm
@@ -264,5 +264,12 @@ LEAF_ENTRY _RhpGetThunkSize, _TEXT
ret
LEAF_END _RhpGetThunkSize, _TEXT
+;;
+;; int _RhpGetNumThunkBlocksPerMapping()
+;;
+LEAF_ENTRY _RhpGetNumThunkBlocksPerMapping, _TEXT
+ mov eax, 8
+ ret
+LEAF_END _RhpGetNumThunkBlocksPerMapping, _TEXT
end