paranoiacblack/Obfuscated-OS — comment on commit 935262e06b08f1614e881d017884963289df668e
File: nachos/userprog/UserProcess.java line 558
By paranoiacblack:

What are the return values supposed to be? Can you document that. You don't seem to use the return value of these functions anywhere. Maybe on line 539, you can just call decrementRef and if it returns 0, you return -1 or something.