Commit aeafc3bb authored by sgjesse@chromium.org's avatar sgjesse@chromium.org

Minor fix to fix building without ENABLE_LOGGING_AND_PROFILING defined.

Review URL: http://codereview.chromium.org/21534

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1329 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent f8051275
......@@ -679,6 +679,7 @@ void Logger::DeleteEvent(const char* name, void* object) {
}
#ifdef ENABLE_LOGGING_AND_PROFILING
int Logger::CodeObjectSize(Code* code) {
// Check that the assumptions about the layout of the code object holds.
ASSERT_EQ(reinterpret_cast<unsigned int>(code->instruction_start()) -
......@@ -686,6 +687,7 @@ int Logger::CodeObjectSize(Code* code) {
Code::kHeaderSize);
return code->instruction_size() + Code::kHeaderSize;
}
#endif
void Logger::CodeCreateEvent(const char* tag, Code* code, const char* comment) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment