Reviewers: Jakob,
Message:
PTAL
Description:
Representation of interceptor / handler properties are tagged.
Otherwise store ICs will never be initialized, due to
lookup->CanHoldValue(value);
BUG=chromium:256330
Please review this at https://chromiumcodereview.appspot.com/23533012/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/property.h
Index: src/property.h
diff --git a/src/property.h b/src/property.h
index
19425ed28181d80c1f8b662919fccee776fbf9b6..094590ec7c0514fd42f8c389e726cfd23ccf810e
100644
--- a/src/property.h
+++ b/src/property.h
@@ -225,14 +225,14 @@ class LookupResult BASE_EMBEDDED {
void HandlerResult(JSProxy* proxy) {
lookup_type_ = HANDLER_TYPE;
holder_ = proxy;
- details_ = PropertyDetails(NONE, HANDLER, Representation::None());
+ details_ = PropertyDetails(NONE, HANDLER, Representation::Tagged());
cacheable_ = false;
}
void InterceptorResult(JSObject* holder) {
lookup_type_ = INTERCEPTOR_TYPE;
holder_ = holder;
- details_ = PropertyDetails(NONE, INTERCEPTOR, Representation::None());
+ details_ = PropertyDetails(NONE, INTERCEPTOR,
Representation::Tagged());
}
void NotFound() {
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.