Skip to content

Commit

Permalink
Avoid marking op_type on gen_defined (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
k0kubun committed Aug 25, 2022
1 parent 1d7300d commit 733fd34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,6 @@ yjit_task:
make_rdoc_script: source $HOME/.cargo/env && make -j rdoc

# Run John's YJIT instruction tests, and make sure we can load the test-all runner
test_yjit_script: source $HOME/.cargo/env && make test-all TESTS='test/ruby/test_yjit.rb' RUN_OPTS="--yjit-call-threshold=1"
test_yjit_script: source $HOME/.cargo/env && make -j test-all TESTS='test/ruby/test_method.rb test/ruby/test_yjit.rb' RUN_OPTS="--yjit-call-threshold=1"

# TODO: check that we can we run all of test-all successfully
2 changes: 1 addition & 1 deletion yjit/src/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2186,7 +2186,7 @@ fn gen_defined(
asm: &mut Assembler,
_ocb: &mut OutlinedCb,
) -> CodegenStatus {
let op_type = jit_get_arg(jit, 0);
let op_type = jit_get_arg(jit, 0).as_u64();
let obj = jit_get_arg(jit, 1);
let pushval = jit_get_arg(jit, 2);

Expand Down

0 comments on commit 733fd34

Please sign in to comment.