Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 57acb3776a112b6e0d082d82651dd3faca3a5607..0a526a08deb93f4da9a8afa2979b560961c2121b 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -2221,8 +2221,9 @@ void Genesis::TransferNamedProperties(Handle<JSObject> from, |
// Add to dictionary. |
Handle<String> key = Handle<String>(descs->GetKey(i)); |
Handle<Object> callbacks(descs->GetCallbacksObject(i)); |
- PropertyDetails d = |
- PropertyDetails(details.attributes(), CALLBACKS, details.index()); |
+ PropertyDetails d = PropertyDetails(details.attributes(), |
+ CALLBACKS, |
+ details.descriptor_index()); |
JSObject::SetNormalizedProperty(to, key, callbacks, d); |
break; |
} |