Skip to content
Permalink
Browse files
[Truffle] Define NoMemoryError.
  • Loading branch information
nirvdrum committed Feb 19, 2015
1 parent 8324dc4 commit 63bee132d6cb5e510e1e81518e990a8a752cd412
Showing 1 changed file with 4 additions and 0 deletions.
@@ -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;
@@ -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");

0 comments on commit 63bee13

Please sign in to comment.