Skip to content

Commit bad557b

Browse files
committed
[Truffle] Allow String#concat to compile for now.
1 parent 94f393c commit bad557b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

truffle/src/main/java/org/jruby/truffle/nodes/core/StringNodes.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ public ConcatNode(ConcatNode prev) {
194194

195195
@Specialization
196196
public RubyString concat(RubyString string, RubyString other) {
197-
notDesignedForCompilation();
197+
// TODO (nirvdrum 06-Feb-15) This shouldn't be designed for compilation because we don't support all the String semantics yet, but a bench9000 benchmark has it on a hot path, so commenting out for now.
198+
//notDesignedForCompilation();
198199

199200
if (string.isFrozen()) {
200201
CompilerDirectives.transferToInterpreter();

0 commit comments

Comments
 (0)