/home/briantrice/src/slate-language/src/vm/method.cpp File Reference

#include "slate.hpp"

Include dependency graph for method.cpp:

Go to the source code of this file.

Functions

word_t method_pic_hash (struct object_heap *oh, struct CompiledMethod *callerMethod, word_t arity, struct Object *args[])
void method_save_cache (struct object_heap *oh, struct MethodDefinition *md, struct Symbol *name, struct Object *arguments[], word_t n)
struct MethodDefinitionmethod_check_cache (struct object_heap *oh, struct Symbol *selector, struct Object *arguments[], word_t n)
struct MethodDefinitionmethod_dispatch_on (struct object_heap *oh, struct Symbol *name, struct Object *arguments[], word_t arity, struct Object *resendMethod)
void method_unoptimize (struct object_heap *oh, struct CompiledMethod *method)
void method_remove_optimized_sending (struct object_heap *oh, struct Symbol *symbol)
bool method_on_call_stack (struct object_heap *oh, struct CompiledMethod *method)
void method_optimize (struct object_heap *oh, struct CompiledMethod *method)
void method_pic_setup (struct object_heap *oh, struct CompiledMethod *caller)
struct MethodDefinitionmethod_pic_match_selector (struct object_heap *oh, struct Object *picEntry[], struct Symbol *selector, word_t arity, struct Object *args[], word_t incrementWhenFound)
void method_pic_insert (struct object_heap *oh, struct OopArray *calleeCount, struct Object *picEntry[], struct MethodDefinition *def, word_t arity, struct Object *args[])
void method_pic_flush_caller_pics (struct object_heap *oh, struct CompiledMethod *callee)
void method_pic_add_callee_backreference (struct object_heap *oh, struct CompiledMethod *caller, struct CompiledMethod *callee)
void method_pic_add_callee (struct object_heap *oh, struct CompiledMethod *callerMethod, struct MethodDefinition *def, word_t arity, struct Object *args[])
struct MethodDefinitionmethod_pic_find_callee (struct object_heap *oh, struct CompiledMethod *callerMethod, struct Symbol *selector, word_t arity, struct Object *args[])
struct MethodDefinitionmethod_is_on_arity (struct object_heap *oh, struct Object *method, struct Symbol *selector, struct Object *args[], word_t n)
struct MethodDefinitionmethod_define (struct object_heap *oh, struct Object *method, struct Symbol *selector, struct Object *args[], word_t n)


Function Documentation

struct MethodDefinition* method_check_cache ( struct object_heap oh,
struct Symbol selector,
struct Object arguments[],
word_t  n 
) [read]

Definition at line 26 of file method.cpp.

struct MethodDefinition* method_define ( struct object_heap oh,
struct Object method,
struct Symbol selector,
struct Object args[],
word_t  n 
) [read]

Definition at line 592 of file method.cpp.

struct MethodDefinition* method_dispatch_on ( struct object_heap oh,
struct Symbol name,
struct Object arguments[],
word_t  arity,
struct Object resendMethod 
) [read]

Definition at line 64 of file method.cpp.

struct MethodDefinition* method_is_on_arity ( struct object_heap oh,
struct Object method,
struct Symbol selector,
struct Object args[],
word_t  n 
) [read]

Definition at line 567 of file method.cpp.

bool method_on_call_stack ( struct object_heap oh,
struct CompiledMethod method 
)

Definition at line 308 of file method.cpp.

void method_optimize ( struct object_heap oh,
struct CompiledMethod method 
)

Definition at line 325 of file method.cpp.

void method_pic_add_callee ( struct object_heap oh,
struct CompiledMethod callerMethod,
struct MethodDefinition def,
word_t  arity,
struct Object args[] 
)

Definition at line 486 of file method.cpp.

void method_pic_add_callee_backreference ( struct object_heap oh,
struct CompiledMethod caller,
struct CompiledMethod callee 
)

Definition at line 459 of file method.cpp.

struct MethodDefinition* method_pic_find_callee ( struct object_heap oh,
struct CompiledMethod callerMethod,
struct Symbol selector,
word_t  arity,
struct Object args[] 
) [read]

Definition at line 532 of file method.cpp.

void method_pic_flush_caller_pics ( struct object_heap oh,
struct CompiledMethod callee 
)

Definition at line 443 of file method.cpp.

word_t method_pic_hash ( struct object_heap oh,
struct CompiledMethod callerMethod,
word_t  arity,
struct Object args[] 
)

Definition at line 4 of file method.cpp.

void method_pic_insert ( struct object_heap oh,
struct OopArray calleeCount,
struct Object picEntry[],
struct MethodDefinition def,
word_t  arity,
struct Object args[] 
)

Definition at line 422 of file method.cpp.

struct MethodDefinition* method_pic_match_selector ( struct object_heap oh,
struct Object picEntry[],
struct Symbol selector,
word_t  arity,
struct Object args[],
word_t  incrementWhenFound 
) [read]

Definition at line 389 of file method.cpp.

void method_pic_setup ( struct object_heap oh,
struct CompiledMethod caller 
)

Definition at line 382 of file method.cpp.

void method_remove_optimized_sending ( struct object_heap oh,
struct Symbol symbol 
)

Definition at line 289 of file method.cpp.

void method_save_cache ( struct object_heap oh,
struct MethodDefinition md,
struct Symbol name,
struct Object arguments[],
word_t  n 
)

Definition at line 12 of file method.cpp.

void method_unoptimize ( struct object_heap oh,
struct CompiledMethod method 
)

Definition at line 275 of file method.cpp.


Generated on Fri Feb 5 09:54:09 2010 for Slate VM by  doxygen 1.5.8