Commit 7a229ccf authored by verwaest@chromium.org's avatar verwaest@chromium.org

Emit deprecated check for constant function transitions.

R=mvstanton@chromium.org

Review URL: https://chromiumcodereview.appspot.com/17287003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15183 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 5ad53577
...@@ -3624,6 +3624,9 @@ bool Map::CanBeDeprecated() { ...@@ -3624,6 +3624,9 @@ bool Map::CanBeDeprecated() {
details.representation().IsHeapObject()) { details.representation().IsHeapObject()) {
return true; return true;
} }
if (FLAG_track_fields && details.type() == CONSTANT_FUNCTION) {
return true;
}
} }
return false; return false;
} }
......
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