We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d62795 commit 3b87018Copy full SHA for 3b87018
spec/truffle/regexp/inline_caching_spec.rb
@@ -10,7 +10,10 @@
10
11
require_relative '../../ruby/spec_helper'
12
13
-guard -> { TruffleRuby.jit? } do # this test needs splitting
+# This test requires splitting (--engine.Splitting) which is only available with the OptimizedTruffleRuntime.
14
+# It fails under --experimental-engine-caching because CallInternalMethodNode does not have cached specializations for
15
+# !isSingleContext() and so ends up using an IndirectCallNode which prevents splitting.
16
+guard -> { TruffleRuby.jit? && !Truffle::Boot.get_option('experimental-engine-caching') } do
17
describe "Inline caching for dynamically-created Regexp works for" do
18
before :each do
19
@performance_warnings, Warning[:performance] = Warning[:performance], true
0 commit comments