Cleanup.

Change-Id: I15704e76662bcf9bc10560679500c98a4baa68ab
diff --git a/src/object.h b/src/object.h
index 5d781e4..6322b8d 100644
--- a/src/object.h
+++ b/src/object.h
@@ -544,6 +544,7 @@
     code_instruction_set_ = set;
     code_area_.reset(MemMap::Map(byte_count,
         PROT_READ | PROT_WRITE | PROT_EXEC));
+    CHECK(code_area_.get());
     byte* code = code_area_->GetAddress();
     memcpy(code, compiled_code, byte_count);
     __builtin___clear_cache(code, code + byte_count);