[GB.JIT]
* BUG: Fix two warnings in structure initializations. git-svn-id: svn://localhost/gambas/trunk@4785 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
2375145a67
commit
5ad32aea43
1 changed files with 2 additions and 2 deletions
|
@ -577,7 +577,7 @@ struct PushUnknownExpression : Expression {
|
|||
unsigned short* pc;
|
||||
int name_id;
|
||||
PushUnknownExpression(Expression* obj, int name_id, unsigned short* pc) :
|
||||
obj(obj), name_id(name_id), pc(pc) {
|
||||
obj(obj), pc(pc), name_id(name_id) {
|
||||
type = T_VARIANT;
|
||||
ref_stack();
|
||||
obj->must_on_stack();
|
||||
|
@ -832,7 +832,7 @@ struct JumpEnumFirstExpression : Expression {
|
|||
llvm::Value* ob;
|
||||
int ctrl;
|
||||
JumpEnumFirstExpression(int ctrl, Expression* obj)
|
||||
: ctrl(ctrl), obj(obj) {
|
||||
: obj(obj), ctrl(ctrl) {
|
||||
set_ctrl_type(obj->type, ctrl);
|
||||
}
|
||||
void codegen();
|
||||
|
|
Loading…
Reference in a new issue