aboutsummaryrefslogtreecommitdiff
path: root/compiler/elymasGlobalSysOpt.ey
blob: 17db6ba84960c17715f7ed8766702fcb6933101c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<
  "opt" enterSubScope

  <
    # stub
    # 0 -> code object
    # 1 -> current scope
    # 0 <- same code object (if different object, optimization would have taken place)
    # 1 <- current scope (value ignored)
    [[
      :retn
    ]] /eyhook defv
  > _ ==globalFunctions { defv }' ::allocateOffsetStruct

  [
    globalFunctions keys eydeff { | }' createScopeEntries
    createScopeExtensionEntries
  ] :execute

  leaveSubScope
> --

# vim: syn=elymas