MysoreScript
Namespaces | Functions | Variables
interpreter.cc File Reference
#include <string.h>
#include "parser.hh"
Include dependency graph for interpreter.cc:

Go to the source code of this file.

Namespaces

 anonymous_namespace{interpreter.cc}
 
 Interpreter
 

Functions

bool anonymous_namespace{interpreter.cc}::needsGC (Obj o)
 Indicates whether a particular object needs to be visible to the GC. More...
 
Obj anonymous_namespace{interpreter.cc}::closureTrampoline0 (Closure *C)
 0-argument trampoline for jumping back into the interpreter when a closure that has not yet been compiled is executed. More...
 
Obj anonymous_namespace{interpreter.cc}::closureTrampoline1 (Closure *C, Obj o0)
 1-argument trampoline for jumping back into the interpreter when a closure that has not yet been compiled is executed. More...
 
Obj anonymous_namespace{interpreter.cc}::closureTrampoline2 (Closure *C, Obj o0, Obj o1)
 2-argument trampoline for jumping back into the interpreter when a closure that has not yet been compiled is executed. More...
 
Obj anonymous_namespace{interpreter.cc}::closureTrampoline3 (Closure *C, Obj o0, Obj o1, Obj o2)
 3-argument trampoline for jumping back into the interpreter when a closure that has not yet been compiled is executed. More...
 
Obj anonymous_namespace{interpreter.cc}::closureTrampoline4 (Closure *C, Obj o0, Obj o1, Obj o2, Obj o3)
 4-argument trampoline for jumping back into the interpreter when a closure that has not yet been compiled is executed. More...
 
Obj anonymous_namespace{interpreter.cc}::closureTrampoline5 (Closure *C, Obj o0, Obj o1, Obj o2, Obj o3, Obj o4)
 5-argument trampoline for jumping back into the interpreter when a closure that has not yet been compiled is executed. More...
 
Obj anonymous_namespace{interpreter.cc}::closureTrampoline6 (Closure *C, Obj o0, Obj o1, Obj o2, Obj o3, Obj o4, Obj o5)
 6-argument trampoline for jumping back into the interpreter when a closure that has not yet been compiled is executed. More...
 
Obj anonymous_namespace{interpreter.cc}::closureTrampoline7 (Closure *C, Obj o0, Obj o1, Obj o2, Obj o3, Obj o4, Obj o5, Obj o6)
 7-argument trampoline for jumping back into the interpreter when a closure that has not yet been compiled is executed. More...
 
Obj anonymous_namespace{interpreter.cc}::closureTrampoline8 (Closure *C, Obj o0, Obj o1, Obj o2, Obj o3, Obj o4, Obj o5, Obj o6, Obj o7)
 8-argument trampoline for jumping back into the interpreter when a closure that has not yet been compiled is executed. More...
 
Obj anonymous_namespace{interpreter.cc}::closureTrampoline9 (Closure *C, Obj o0, Obj o1, Obj o2, Obj o3, Obj o4, Obj o5, Obj o6, Obj o7, Obj o8)
 9-argument trampoline for jumping back into the interpreter when a closure that has not yet been compiled is executed. More...
 
Obj anonymous_namespace{interpreter.cc}::closureTrampoline10 (Closure *C, Obj o0, Obj o1, Obj o2, Obj o3, Obj o4, Obj o5, Obj o6, Obj o7, Obj o8, Obj o9)
 10-argument trampoline for jumping back into the interpreter when a closure that has not yet been compiled is executed. More...
 
Obj anonymous_namespace{interpreter.cc}::methodTrampoline0 (Obj self, Selector cmd)
 0-argument trampoline for jumping back into the interpreter when a method that has not yet been compiled is executed. More...
 
Obj anonymous_namespace{interpreter.cc}::methodTrampoline1 (Obj self, Selector cmd, Obj o0)
 1-argument trampoline for jumping back into the interpreter when a method that has not yet been compiled is executed. More...
 
Obj anonymous_namespace{interpreter.cc}::methodTrampoline2 (Obj self, Selector cmd, Obj o0, Obj o1)
 2-argument trampoline for jumping back into the interpreter when a method that has not yet been compiled is executed. More...
 
Obj anonymous_namespace{interpreter.cc}::methodTrampoline3 (Obj self, Selector cmd, Obj o0, Obj o1, Obj o2)
 3-argument trampoline for jumping back into the interpreter when a method that has not yet been compiled is executed. More...
 
Obj anonymous_namespace{interpreter.cc}::methodTrampoline4 (Obj self, Selector cmd, Obj o0, Obj o1, Obj o2, Obj o3)
 4-argument trampoline for jumping back into the interpreter when a method that has not yet been compiled is executed. More...
 
Obj anonymous_namespace{interpreter.cc}::methodTrampoline5 (Obj self, Selector cmd, Obj o0, Obj o1, Obj o2, Obj o3, Obj o4)
 5-argument trampoline for jumping back into the interpreter when a method that has not yet been compiled is executed. More...
 
Obj anonymous_namespace{interpreter.cc}::methodTrampoline6 (Obj self, Selector cmd, Obj o0, Obj o1, Obj o2, Obj o3, Obj o4, Obj o5)
 6-argument trampoline for jumping back into the interpreter when a method that has not yet been compiled is executed. More...
 
Obj anonymous_namespace{interpreter.cc}::methodTrampoline7 (Obj self, Selector cmd, Obj o0, Obj o1, Obj o2, Obj o3, Obj o4, Obj o5, Obj o6)
 7-argument trampoline for jumping back into the interpreter when a method that has not yet been compiled is executed. More...
 
Obj anonymous_namespace{interpreter.cc}::methodTrampoline8 (Obj self, Selector cmd, Obj o0, Obj o1, Obj o2, Obj o3, Obj o4, Obj o5, Obj o6, Obj o7)
 8-argument trampoline for jumping back into the interpreter when a method that has not yet been compiled is executed. More...
 
Obj anonymous_namespace{interpreter.cc}::methodTrampoline9 (Obj self, Selector cmd, Obj o0, Obj o1, Obj o2, Obj o3, Obj o4, Obj o5, Obj o6, Obj o7, Obj o8)
 9-argument trampoline for jumping back into the interpreter when a method that has not yet been compiled is executed. More...
 
Obj anonymous_namespace{interpreter.cc}::methodTrampoline10 (Obj self, Selector cmd, Obj o0, Obj o1, Obj o2, Obj o3, Obj o4, Obj o5, Obj o6, Obj o7, Obj o8, Obj o9)
 10-argument trampoline for jumping back into the interpreter when a method that has not yet been compiled is executed. More...
 

Variables

Interpreter::Contextanonymous_namespace{interpreter.cc}::currentContext
 
CompiledMethod anonymous_namespace{interpreter.cc}::methodTrampolines []
 Array of trampolines, indexed by number or arguments. More...
 
ClosureInvoke Interpreter::closureTrampolines []
 Array of trampolines, indexed by number or arguments. More...