Commit 8a2a4bf9 authored by yangguo@chromium.org's avatar yangguo@chromium.org

Flush ICache after deserializing code.

R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/375223002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22289 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 823daea2
......@@ -1907,6 +1907,7 @@ Object* CodeSerializer::Deserialize(Isolate* isolate, ScriptData* data) {
}
Object* root;
deserializer.DeserializePartial(isolate, &root);
deserializer.FlushICacheForNewCodeObjects();
ASSERT(root->IsSharedFunctionInfo());
return root;
}
......
......@@ -249,6 +249,8 @@ class Deserializer: public SerializerDeserializer {
reservations_[space_number] = reservation;
}
void FlushICacheForNewCodeObjects();
private:
virtual void VisitPointers(Object** start, Object** end);
......@@ -286,8 +288,6 @@ class Deserializer: public SerializerDeserializer {
return HeapObject::FromAddress(high_water_[space] - offset);
}
void FlushICacheForNewCodeObjects();
// Cached current isolate.
Isolate* isolate_;
......
......@@ -175,9 +175,6 @@
##############################################################################
['arch == arm', {
# Temporarily disabled test
'test-compiler/SerializeToplevel': [SKIP],
# BUG(355): Test crashes on ARM.
'test-log/ProfLazyMode': [SKIP],
......
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