Index: src/runtime/runtime-object.cc |
diff --git a/src/runtime/runtime-object.cc b/src/runtime/runtime-object.cc |
index 74cb8cb29344b273fb5a9a4aba88b5b3778d18c5..5c534320bd3006436da9dec6e2137c1d9e49d0fa 100644 |
--- a/src/runtime/runtime-object.cc |
+++ b/src/runtime/runtime-object.cc |
@@ -1453,10 +1453,8 @@ RUNTIME_FUNCTION(Runtime_DefineAccessorPropertyUnchecked) { |
RUNTIME_ASSERT((unchecked & ~(READ_ONLY | DONT_ENUM | DONT_DELETE)) == 0); |
PropertyAttributes attr = static_cast<PropertyAttributes>(unchecked); |
- bool fast = obj->HasFastProperties(); |
RETURN_FAILURE_ON_EXCEPTION( |
isolate, JSObject::DefineAccessor(obj, name, getter, setter, attr)); |
- if (fast) JSObject::MigrateSlowToFast(obj, 0); |
return isolate->heap()->undefined_value(); |
} |