Fix moose_throw_error
gfx [Wed, 19 Aug 2009 03:43:57 +0000 (12:43 +0900)]
Moose.xs

index d6bea5e..4020580 100644 (file)
--- a/Moose.xs
+++ b/Moose.xs
@@ -98,9 +98,6 @@ moose_throw_error(SV* const klass, SV* const data, const char* const fmt, ...){
         PUSHs(klass);
         mPUSHs(message);
 
-        mPUSHp("depth", sizeof("depth")-1);
-        mPUSHi(-1);
-
         if(data){
             EXTEND(SP, 2);
             mPUSHp("data", sizeof("data")-1);