commit | edcc09c737b00462881f147602656739d029571e | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Sun Aug 21 18:47:05 2011 -0700 |
committer | Elliott Hughes <enh@google.com> | Sun Aug 21 18:47:05 2011 -0700 |
tree | 06f763e94567b687c229743f884ce87deee818ed | |
parent | c143c55718342519db5398e41dda31422cf16c79 [diff] [blame] |
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);