#666 new
Juha Pohjalainen

vm/llvm/instructions.cpp does not compile with llvm-g++

Reported by Juha Pohjalainen | July 18th, 2008 @ 11:00 AM | in 1.0 preview

Here are reasons:

llvm/instructions.cpp: In function 'bool fixed_args_prelude(rubinius::Task*, jit_state*, size_t)':

llvm/instructions.cpp:360: error: 'original' was not declared in this scope

llvm/instructions.cpp:360: error: invalid use of 'this' in non-member function

llvm/instructions.cpp:364: error: 'class rubinius::Task' has no member named 'task'

llvm/instructions.cpp: In function 'bool zero_args_prelude(rubinius::Task*, jit_state*)':

llvm/instructions.cpp:372: error: request for member 'args' in 'task->rubinius::Task::msg', which is of non-class type 'rubinius::Message*'

llvm/instructions.cpp:374: error: request for member 'recv' in 'msg', which is of non-class type 'rubinius::Message* const'

llvm/instructions.cpp:374: error: 'original' was not declared in this scope

llvm/instructions.cpp:374: error: invalid use of 'this' in non-member function

llvm/instructions.cpp: In function 'bool full_prelude(rubinius::Task*, jit_state*)':

llvm/instructions.cpp:380: error: 'class rubinius::Task' has no member named 'ctx'

rake aborted!

Command failed with status (1): [llvm-g++ -emit-llvm -I. -I external_libs/l...]

My quick fix was -- comment them out. :-)

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »