--
--
v8-users mailing list
v8-u...@googlegroups.com
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups "v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "v8-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/v8-users/hsUrt4I2D98/unsubscribe.
To unsubscribe from this group and all its topics, send an email to v8-users+u...@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "v8-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/v8-users/hsUrt4I2D98/unsubscribe.
To unsubscribe from this group and all its topics, send an email to v8-users+u...@googlegroups.com.
function getVirtuals(model) {
var virtuals
var attrs = {}
if (virtuals = model.virtuals) {
for (var virtualName in virtuals) {
attrs[virtualName] = getVirtual(model, virtualName)
}
}
return attrs
}As for the explanation, someone who understands Hydrogen IR better would have to explain that. I don't understand why the culprit phi value (v88) is there to begin with. It doesn't seem to have real uses. For convenience, here's a link to the Hydrogen IR for the `getVirtuals` function: [2].
[1] https://code.google.com/p/chromium/codesearch#chromium/src/v8/src/crankshaft/hydrogen.cc&sq=package:chromium&type=cs&rcl=1456748799&l=4005
[2] https://gist.github.com/ofrobots/6d8d391a047ee8f0766a
You received this message because you are subscribed to the Google Groups "v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+u...@googlegroups.com.
Jakob, here is a reproducible example (https://github.com/hulbert/bookshelf-sample-v8). I’m running this with node 5.6.0 on OS X (10.10.4).