Skip to content

Commit 628fe1c

Browse files
committedApr 15, 2016
Coalesce condition blocks so GCC *5* can understand.
1 parent 1416394 commit 628fe1c

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed
 

‎machine/instructions.def

+3-6
Original file line numberDiff line numberDiff line change
@@ -1943,12 +1943,6 @@ instruction zsuper(literal) [ block -- value ]
19431943
}
19441944
}
19451945

1946-
native_int keywords_position, placeholder_position;
1947-
if(mc->keywords) {
1948-
placeholder_position = splat_obj ? mc->total_args : mc->total_args - 1;
1949-
keywords_position = placeholder_position + 1;
1950-
}
1951-
19521946
Tuple* tup = Tuple::create(state, arg_count);
19531947
for(int i = 0; i < mc->total_args; i++) {
19541948
tup->put(state, i, scope->get_local(state, i));
@@ -1963,6 +1957,9 @@ instruction zsuper(literal) [ block -- value ]
19631957
}
19641958

19651959
if(mc->keywords) {
1960+
native_int placeholder_position = splat_obj ? mc->total_args : mc->total_args - 1;
1961+
native_int keywords_position = placeholder_position + 1;
1962+
19661963
Object* placeholder = scope->get_local(state, placeholder_position);
19671964
Array* ary = Array::create(state, 2);
19681965

0 commit comments

Comments
 (0)
Please sign in to comment.