Let arguments in the arguments array

We transfer them normally to the frame to allow specialization on their type.

Signed-off-by: Stefan Marr <git@stefan-marr.de>

Conflicts:
	src/som/compiler/MethodGenerationContext.java
	src/som/compiler/Parser.java
	src/som/interpreter/nodes/ArgumentInitializationNode.java
	src/som/interpreter/nodes/ArgumentReadNode.java
	src/som/interpreter/nodes/ContextualNode.java
	src/som/interpreter/nodes/UninitializedVariableNode.java
Clean up ContextualNode, remove dead code

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Add temporary dummy parent to enable replacement

not sure why that's not needed in the master branch. strange.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
The guarding exception is not needed anymore

- context does access the argument array not any slot

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Move the super class lookup into dispatch

The argument read node has no business with the message sending, so, it should just store the relevant info, but not rewrite itself.

The lazy initialization/lookup can be done in the dispatch chain. It belongs there also conceptually.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Wrapper to use the Graal profiling

not sure the DynamicCounters stuff is up to date for SOM

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Add some non-essential scripts to .gitignore

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Remove unsued code

Signed-off-by: Stefan Marr <git@stefan-marr.de>
unsafeFrameCast is gone

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Encode in name whether methods are class or instance side

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Mark literals and sequence nodes as having no cost.

Inspired by the change in JRuby: https://github.com/jruby/jruby/commit/0e4c83c904884f2206727b1e9627d86fdff7804a

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Updated core-lib

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Added cast to MaterializeFrame to work aroun

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Let's use an unsafeCast, so, we can also tell Graal that the context is not null.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Updated to latest Graal version, and use clone of official GraalVM repo

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Added ant target descriptions

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Added target to checkout the core-lib if not available

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Added develop target to download source zips

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Change project name to TruffleSOM

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Change eclipse project to rely on pre-build files

- left the old stuff in to re-enable for later experiments

Signed-off-by: Stefan Marr <git@stefan-marr.de>