-
-
Save MasterDuke17/129ca09760840107045722beeef36731 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ 2500 case MVM_OP_getcomp: { | |
+ 2501 MVMint16 dst = ins->operands[0].reg.orig; | |
+ 2502 MVMint16 comp = ins->operands[1].reg.orig; | |
+ 2503 | mov ARG1, TC->instance; | |
+ 2504 | lea ARG1, MVMINSTANCE:ARG1->mutex_compiler_registry; | |
+ 2505 | call &uv_mutex_lock; | |
+ 2506 | mov ARG1, TC; | |
+ 2507 | mov ARG2, TC->instance; | |
+ 2508 | mov ARG2, MVMINSTANCE:ARG2->compiler_registry; | |
+ 2509 | mov ARG3, aword WORK[comp]; | |
+ 2510 | call &MVM_repr_at_key_o; | |
+ 2511 | mov ARG1, TC->instance; | |
+ 2512 | lea ARG1, MVMINSTANCE:ARG1->mutex_compiler_registry; | |
+ 2513 | call &uv_mutex_unlock; | |
+ 2514 break; | |
+ 2515 } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment