Index: src/lookup.h |
diff --git a/src/lookup.h b/src/lookup.h |
index 48604b2389a375da7a99dd09bea37e217bfb3062..be8394afec4e7242fd294695f6b31f347dac8628 100644 |
--- a/src/lookup.h |
+++ b/src/lookup.h |
@@ -59,10 +59,12 @@ |
holder_map_(holder_->map(), isolate_), |
initial_holder_(holder_), |
number_(DescriptorArray::kNotFound) { |
+#if 0 // TODO(verwaest): Enable once blocking hacks are removed. |
#ifdef DEBUG |
uint32_t index; // Assert that the name is not an array index. |
DCHECK(!name->AsArrayIndex(&index)); |
#endif // DEBUG |
+#endif |
Next(); |
} |
@@ -83,10 +85,12 @@ |
holder_map_(holder_->map(), isolate_), |
initial_holder_(holder_), |
number_(DescriptorArray::kNotFound) { |
+#if 0 // TODO(verwaest): Enable once blocking hacks are removed. |
#ifdef DEBUG |
uint32_t index; // Assert that the name is not an array index. |
DCHECK(!name->AsArrayIndex(&index)); |
#endif // DEBUG |
+#endif |
Next(); |
} |
@@ -208,7 +212,9 @@ |
Handle<Object> GetAccessors() const; |
Handle<InterceptorInfo> GetInterceptor() const; |
Handle<Object> GetDataValue() const; |
- void WriteDataValue(Handle<Object> value); |
+ // Usually returns the value that was passed in. In case of typed array |
+ // accesses it returns the converted value. |
+ Handle<Object> WriteDataValue(Handle<Object> value); |
void InternalizeName(); |
private: |