Commit fa4954a4 authored by ager@chromium.org's avatar ager@chromium.org

Remove unsafe and unneeded logging during deserialization.


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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3736 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 432caaf1
...@@ -702,7 +702,6 @@ void Deserializer::ReadChunk(Object** current, ...@@ -702,7 +702,6 @@ void Deserializer::ReadChunk(Object** current,
break; break;
case OBJECT_SERIALIZATION + CODE_SPACE: case OBJECT_SERIALIZATION + CODE_SPACE:
ReadObject(CODE_SPACE, Heap::code_space(), current++); ReadObject(CODE_SPACE, Heap::code_space(), current++);
LOG(LogCodeObject(current[-1]));
break; break;
case OBJECT_SERIALIZATION + CELL_SPACE: case OBJECT_SERIALIZATION + CELL_SPACE:
ReadObject(CELL_SPACE, Heap::cell_space(), current++); ReadObject(CELL_SPACE, Heap::cell_space(), current++);
...@@ -712,7 +711,6 @@ void Deserializer::ReadChunk(Object** current, ...@@ -712,7 +711,6 @@ void Deserializer::ReadChunk(Object** current,
break; break;
case OBJECT_SERIALIZATION + kLargeCode: case OBJECT_SERIALIZATION + kLargeCode:
ReadObject(kLargeCode, Heap::lo_space(), current++); ReadObject(kLargeCode, Heap::lo_space(), current++);
LOG(LogCodeObject(current[-1]));
break; break;
case OBJECT_SERIALIZATION + kLargeFixedArray: case OBJECT_SERIALIZATION + kLargeFixedArray:
ReadObject(kLargeFixedArray, Heap::lo_space(), current++); ReadObject(kLargeFixedArray, Heap::lo_space(), current++);
...@@ -721,7 +719,6 @@ void Deserializer::ReadChunk(Object** current, ...@@ -721,7 +719,6 @@ void Deserializer::ReadChunk(Object** current,
Object* new_code_object = NULL; Object* new_code_object = NULL;
ReadObject(kLargeCode, Heap::lo_space(), &new_code_object); ReadObject(kLargeCode, Heap::lo_space(), &new_code_object);
Code* code_object = reinterpret_cast<Code*>(new_code_object); Code* code_object = reinterpret_cast<Code*>(new_code_object);
LOG(LogCodeObject(code_object));
// Setting a branch/call to another code object from code. // Setting a branch/call to another code object from code.
Address location_of_branch_data = reinterpret_cast<Address>(current); Address location_of_branch_data = reinterpret_cast<Address>(current);
Assembler::set_target_at(location_of_branch_data, Assembler::set_target_at(location_of_branch_data,
...@@ -734,7 +731,6 @@ void Deserializer::ReadChunk(Object** current, ...@@ -734,7 +731,6 @@ void Deserializer::ReadChunk(Object** current,
Object* new_code_object = NULL; Object* new_code_object = NULL;
ReadObject(CODE_SPACE, Heap::code_space(), &new_code_object); ReadObject(CODE_SPACE, Heap::code_space(), &new_code_object);
Code* code_object = reinterpret_cast<Code*>(new_code_object); Code* code_object = reinterpret_cast<Code*>(new_code_object);
LOG(LogCodeObject(code_object));
// Setting a branch/call to another code object from code. // Setting a branch/call to another code object from code.
Address location_of_branch_data = reinterpret_cast<Address>(current); Address location_of_branch_data = reinterpret_cast<Address>(current);
Assembler::set_target_at(location_of_branch_data, Assembler::set_target_at(location_of_branch_data,
......
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