Guest User

Untitled

a guest
Feb 2nd, 2026
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. clang++ -O0
  2. .text
  3. .globl _ZN3KJS8ValueImp12setGcAllowedEv # -- Begin function _ZN3KJS8ValueImp12setGcAllowedEv
  4. .p2align 4, 0x90
  5. .type _ZN3KJS8ValueImp12setGcAllowedEv,@function
  6. _ZN3KJS8ValueImp12setGcAllowedEv: # @_ZN3KJS8ValueImp12setGcAllowedEv
  7. .cfi_startproc
  8. # %bb.0:
  9. pushq %rbp
  10. .cfi_def_cfa_offset 16
  11. .cfi_offset %rbp, -16
  12. movq %rsp, %rbp
  13. .cfi_def_cfa_register %rbp
  14. subq $16, %rsp
  15. movq %rdi, -8(%rbp)
  16. movq -8(%rbp), %rdi
  17. movq %rdi, -16(%rbp) # 8-byte Spill
  18. callq _ZN3KJS12SimpleNumber2isEPKNS_8ValueImpE@PLT
  19. testb $1, %al
  20. jne .LBB6_2
  21. # %bb.1:
  22. movq -16(%rbp), %rax # 8-byte Reload
  23. movzwl 10(%rax), %ecx
  24. orl $2, %ecx
  25. # kill: def $cx killed $cx killed $ecx
  26. movw %cx, 10(%rax)
  27. .LBB6_2:
  28. addq $16, %rsp
  29. popq %rbp
  30. .cfi_def_cfa %rsp, 8
  31. retq
  32. .Lfunc_end6:
  33. .size _ZN3KJS8ValueImp12setGcAllowedEv, .Lfunc_end6-_ZN3KJS8ValueImp12setGcAllowedEv
  34. .cfi_endproc
  35. # -- End function
  36.  
  37. clang++ -O2
  38. .size _ZNK3KJS8ValueImp6markedEv, .-_ZNK3KJS8ValueImp6markedEv
  39. .align 2
  40. .p2align 4
  41. .globl _ZN3KJS8ValueImp12setGcAllowedEv
  42. .type _ZN3KJS8ValueImp12setGcAllowedEv, @function
  43. _ZN3KJS8ValueImp12setGcAllowedEv:
  44. .LFB2472:
  45. .cfi_startproc
  46. movq %rdi, %rax
  47. andl $3, %eax
  48. cmpq $1, %rax
  49. je .L10
  50. orw $2, 10(%rdi)
  51. .L10:
  52. ret
  53. .cfi_endproc
  54.  
Advertisement
Add Comment
Please, Sign In to add comment