Index: src/property.h |
diff --git a/src/property.h b/src/property.h |
index f783dc2e9a03dd6967fa7bdca4759df88cfb1066..4ff0b2b6658d796d7749f617796ef92f4debf622 100644 |
--- a/src/property.h |
+++ b/src/property.h |
@@ -106,7 +106,7 @@ class FieldDescriptor: public Descriptor { |
FieldDescriptor(String* key, |
int field_index, |
PropertyAttributes attributes, |
- int index) |
+ int index = 0) |
: Descriptor(key, Smi::FromInt(field_index), attributes, FIELD, index) {} |
}; |
@@ -126,7 +126,7 @@ class CallbacksDescriptor: public Descriptor { |
CallbacksDescriptor(String* key, |
Object* foreign, |
PropertyAttributes attributes, |
- int index) |
+ int index = 0) |
: Descriptor(key, foreign, attributes, CALLBACKS, index) {} |
}; |