|
| template<typename T > |
| T * | anonymous_namespace{runtime.hh}::gcAlloc (size_t extraBytes=0) |
| | Typesafe helper function for allocating garbage-collected memory. More...
|
| |
| bool | MysoreScript::isInteger (Obj o) |
| | Is this object a small integer (lowest bit is 1, next two bits are 0). More...
|
| |
| intptr_t | MysoreScript::getInteger (Obj o) |
| | Assuming that o is a small integer (an integer embedded in a pointer), return it as a C integer. More...
|
| |
| Obj | MysoreScript::createSmallInteger (intptr_t i) |
| | Construct a small integer object from the given integer. More...
|
| |
| void | MysoreScript::registerClass (const std::string &name, struct Class *cls) |
| | Register a newly constructed class. More...
|
| |
| struct Class * | MysoreScript::lookupClass (const std::string &name) |
| | Look up an existing class. More...
|
| |
| Obj | MysoreScript::newObject (struct Class *cls) |
| | Instantiate an object. More...
|
| |
| Obj | MysoreScript::mysoreScriptAdd (Obj lhs, Obj rhs) |
| | Helper function called by compiled code for the + operator on objects that are not small (embedded in a pointer) integers. More...
|
| |
| Obj | MysoreScript::mysoreScriptSub (Obj lhs, Obj rhs) |
| | Helper function called by compiled code for the - operator on objects that are not small (embedded in a pointer) integers. More...
|
| |
| Obj | MysoreScript::mysoreScriptMul (Obj lhs, Obj rhs) |
| | Helper function called by compiled code for the * operator on objects that are not small (embedded in a pointer) integers. More...
|
| |
| Obj | MysoreScript::mysoreScriptDiv (Obj lhs, Obj rhs) |
| | Helper function called by compiled code for the / operator on objects that are not small (embedded in a pointer) integers. More...
|
| |
| CompiledMethod | MysoreScript::compiledMethodForSelector (Obj obj, Selector sel) |
| | Look up the compiled method to call for a specific selector. More...
|
| |
| Selector | MysoreScript::lookupSelector (const std::string &) |
| | Looks up the selector for a specified string value, registering a new value if this is the first time the mapping has been needed. More...
|
| |
| Method * | MysoreScript::methodForSelector (Class *, Selector) |
| | Looks up the Method that should be invoked for the specified selector on this class. More...
|
| |
| Obj | MysoreScript::callCompiledMethod (CompiledMethod m, Obj receiver, Selector sel, Obj *args, int argCount) |
| | Calls a compiled method, constructing the correct argument frame based on the arguments. More...
|
| |
| Obj | MysoreScript::callCompiledClosure (ClosureInvoke m, Closure *receiver, Obj *args, int argCount) |
| | Calls a compiled closure from the specified argument list. More...
|
| |