Reviewers: Jakob,

Message:
PTAL

Description:
Properly assign heapobject to constant functions.

Please review this at https://chromiumcodereview.appspot.com/17406009/

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 f36bc7a488cda84a35774282302eb82f14137898..5213ee6077db1178f23cfacb963d09c29e0fc1da 100644
--- a/src/property.h
+++ b/src/property.h
@@ -112,7 +112,7 @@ class ConstantFunctionDescriptor: public Descriptor {
                              JSFunction* function,
                              PropertyAttributes attributes)
       : Descriptor(key, function, attributes, CONSTANT_FUNCTION,
-                   Representation::Tagged()) {}
+                   Representation::HeapObject()) {}
 };




--
--
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.


Reply via email to