When I set the constructor behavior on my FunctionTemplate to kThrow (instead of the default kAllow), then create an object from the template using InstanceTemplate()->NewInstance(), it seems like the InternalFieldCount on the InstanceTemplate is ignored, and the object that gets created has 0 internal fields. This only happens when I set the constructor behavior to kThrow. Is this a bug? How can I get the object to have the right number of internal fields?
~Theodore
PS: I'm using the version of V8 at branch-heads/5.4.