mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Handle out of memory tests (https://github.com/Shopify/ruby/pull/393)
This commit is contained in:
parent
df84832c75
commit
b54643d13a
3 changed files with 9 additions and 6 deletions
|
@ -160,10 +160,8 @@ yjit_task:
|
|||
bootstraptest/test_yjit_30k_ifelse.rb \
|
||||
bootstraptest/test_yjit_30k_methods.rb \
|
||||
bootstraptest/test_yjit_new_backend.rb \
|
||||
bootstraptest/test_yjit_rust_port.rb
|
||||
|
||||
# These are the btests we can't run yet on arm:
|
||||
#bootstraptest/test_yjit.rb (out of executable memory not handled)
|
||||
bootstraptest/test_yjit_rust_port.rb \
|
||||
bootstraptest/test_yjit.rb
|
||||
|
||||
# FIXME: not currently working on CI, missing cargo
|
||||
# Check that we can do a full ruby build
|
||||
|
|
|
@ -866,7 +866,10 @@ impl Assembler
|
|||
}
|
||||
|
||||
let gc_offsets = asm.arm64_emit(cb);
|
||||
cb.link_labels();
|
||||
|
||||
if !cb.has_dropped_bytes() {
|
||||
cb.link_labels();
|
||||
}
|
||||
|
||||
gc_offsets
|
||||
}
|
||||
|
|
|
@ -561,7 +561,9 @@ impl Assembler
|
|||
|
||||
let gc_offsets = asm.x86_emit(cb);
|
||||
|
||||
cb.link_labels();
|
||||
if !cb.has_dropped_bytes() {
|
||||
cb.link_labels();
|
||||
}
|
||||
|
||||
gc_offsets
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue