Skip to content

Commit

Permalink
[Truffle] Add missing specialization for Kernel#raise and untag the w…
Browse files Browse the repository at this point in the history
…hole Matrix specs!

* See #2804.
  • Loading branch information
eregon committed Apr 9, 2015
1 parent 2bd3f4c commit e2c64c6
Show file tree
Hide file tree
Showing 26 changed files with 6 additions and 30 deletions.
1 change: 0 additions & 1 deletion spec/truffle/tags/library/matrix/det_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/library/matrix/determinant_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/library/matrix/diagonal_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/library/matrix/divide_tags.txt

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions spec/truffle/tags/library/matrix/exponent_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/library/matrix/hermitian_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/library/matrix/inv_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/library/matrix/inverse_tags.txt

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions spec/truffle/tags/library/matrix/minus_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/library/matrix/multiply_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/library/matrix/normal_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/library/matrix/orthogonal_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/library/matrix/permutation_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/truffle/tags/library/matrix/plus_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/library/matrix/regular_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/library/matrix/singular_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/library/matrix/symmetric_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/library/matrix/tr_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/library/matrix/trace_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/library/matrix/unitary_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/library/matrix/vector/each2_tags.txt

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -1444,6 +1444,12 @@ public Object raise(VirtualFrame frame, RubyClass exceptionClass, RubyString mes
throw new RaiseException((RubyException) exception);
}

@Specialization
public Object raise(VirtualFrame frame, RubyClass exceptionClass, RubyString message, RubyArray backtrace) {
// TODO (9 Apr. 2015): handle "backtrace".

This comment has been minimized.

Copy link
@nirvdrum

nirvdrum Apr 9, 2015

Contributor

Missed your initials ;-)

This comment has been minimized.

Copy link
@eregon

eregon Apr 9, 2015

Author Member

Argh, I suppose I didn't want to assign this one to me. But of course it's more "who added it".

This comment has been minimized.

Copy link
@chrisseaton

chrisseaton Apr 9, 2015

Contributor

"who might remember what this means"

return raise(frame, exceptionClass, message, UndefinedPlaceholder.INSTANCE);
}

// This provokes an error under standard Ruby:
// TypeError: backtrace must be Array of String
// but is used in Rubinius in coerce_to_failed for instance.
Expand Down

0 comments on commit e2c64c6

Please sign in to comment.