Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 36 lines (29 sloc) 1.446 kB
f0e8625 Remove task from execution logic, add code to run GC
Evan Phoenix authored
1 #ifndef RBX_HELPERS_HPP
2 #define RBX_HELPERS_HPP
3
4 namespace rubinius {
6f92669 @dbussink Initial work to enable compiling with clang
dbussink authored
5 struct CallFrame;
f0e8625 Remove task from execution logic, add code to run GC
Evan Phoenix authored
6 class Module;
7 class Class;
8 class Symbol;
35dbaf5 @dbussink Rename CompiledMethod to CompiledCode
dbussink authored
9 class CompiledCode;
35a49f3 @evanphx Introduce State class as STATE
evanphx authored
10 class State;
f0e8625 Remove task from execution logic, add code to run GC
Evan Phoenix authored
11 class Object;
025b132 Remove LookupTableAssociation, add GlobalCacheEntry
Evan Phoenix authored
12 class GlobalCacheEntry;
1b70167 @dbussink Some stylistic cleanup
dbussink authored
13 class Tuple;
f0e8625 Remove task from execution logic, add code to run GC
Evan Phoenix authored
14
15 namespace Helpers {
1c079a8 @dbussink Fix Autoload handling by properly reusing the current scope
dbussink authored
16 Object* const_get_under(State*, Module* under, Symbol* name, bool* found, Object* filter = NULL);
17 Object* const_get(State*, CallFrame* call_frame, Symbol* name, bool* found, Object* filter = NULL);
35a49f3 @evanphx Introduce State class as STATE
evanphx authored
18 Object* const_missing_under(State*, Module* under, Symbol* sym, CallFrame* call_frame);
19 Object* const_missing(State*, Symbol* sym, CallFrame* call_frame);
20 void const_set(State*, CallFrame* call_frame, Symbol* name, Object* val);
21 void const_set(State*, Module* mod, Symbol* name, Object* val);
f0e8625 Remove task from execution logic, add code to run GC
Evan Phoenix authored
22
87da49c @rue Fix Helper::locate_method_on() used by #respond_to?
rue authored
23 /** Locate method just as if sending. */
35a49f3 @evanphx Introduce State class as STATE
evanphx authored
24 Tuple* locate_method_on(State*, CallFrame* call_frame, Object* recv, Symbol* name, Object* priv);
87da49c @rue Fix Helper::locate_method_on() used by #respond_to?
rue authored
25
252ba59 @dbussink Add GCToken for Autoload
dbussink authored
26 Class* open_class(State*, GCToken gct, CallFrame* call_frame, Object* super, Symbol* name, bool* created);
27 Class* open_class(State*, GCToken gct, CallFrame* call_frame, Module* under, Object* super, Symbol* name, bool* created);
28 Module* open_module(State*, GCToken gct, CallFrame* call_frame, Symbol* name);
29 Module* open_module(State*, GCToken gct, CallFrame* call_frame, Module* under, Symbol* name);
f0e8625 Remove task from execution logic, add code to run GC
Evan Phoenix authored
30
35a49f3 @evanphx Introduce State class as STATE
evanphx authored
31 bool yield_debugger(State*, GCToken gct, CallFrame* call_frame, Object* bp);
f0e8625 Remove task from execution logic, add code to run GC
Evan Phoenix authored
32 };
33 }
34
35 #endif
Something went wrong with that request. Please try again.