Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Truffle] Allow String#concat to compile for now.
  • Loading branch information
nirvdrum committed Feb 6, 2015
1 parent 94f393c commit bad557b
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -194,7 +194,8 @@ public ConcatNode(ConcatNode prev) {

@Specialization
public RubyString concat(RubyString string, RubyString other) {
notDesignedForCompilation();
// 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.
//notDesignedForCompilation();

if (string.isFrozen()) {
CompilerDirectives.transferToInterpreter();
Expand Down

0 comments on commit bad557b

Please sign in to comment.