Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Truffle] Define NoMemoryError.
  • Loading branch information
nirvdrum committed Feb 19, 2015
1 parent 8324dc4 commit 63bee13
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -78,6 +78,7 @@ public class CoreLibrary {
private final RubyClass moduleClass;
private final RubyClass nameErrorClass;
private final RubyClass nilClass;
private final RubyClass noMemoryErrorClass;
private final RubyClass noMethodErrorClass;
private final RubyClass numericClass;
private final RubyClass objectClass;
Expand Down Expand Up @@ -179,6 +180,9 @@ public CoreLibrary(RubyContext context) {
// FiberError
fiberErrorClass = defineClass(exceptionClass, "FiberError");

// NoMemoryError
noMemoryErrorClass = defineClass(exceptionClass, "NoMemoryError");

// StandardError
standardErrorClass = defineClass(exceptionClass, "StandardError");
argumentErrorClass = defineClass(standardErrorClass, "ArgumentError");
Expand Down

0 comments on commit 63bee13

Please sign in to comment.