[v8-users] Property access: dot-notation vs. bracket-notation

2014-03-05 Thread Mathias Nater
Hi Given an object var obj1 = { 'x': 'foo', 'y': 'bar', 'z': 'baz' }; When I access a property with dot-notation in a function function getPropDot1() { return obj1.x; } getPropDot1(); the function gets optimized. When I access the property with bracket-notation function getPropBrackets1(id)

Re: [v8-users] Property access: dot-notation vs. bracket-notation

2014-03-05 Thread Toon Verwaest
That's a current limitation of keyed access handling in Crankshaft. It's on my TODO list to fix that. As for currently working around it: you'll have to trick the IC to go generic. You could eg pass in a few numbers as id to that function. That'll make the IC go generic in fullcodegen, which will

[v8-users] Differences between v8 version 3.14 and 3.24.

2014-03-05 Thread Jane Chen
I know that the API has changed between v8 version 3.14 and 3.24, for example, now you need to pass Isolate around while creating a new Context or FunctionTemplate. I'd like to get a sense of how extensive and fundamental these API changes are and whether there's major functionality

Re: [v8-users] Can't find '__main__.py' in 'build\\gyp'

2014-03-05 Thread Jay Man
I'm having the same problem. I have this all in my C:\Users\(username) directory checked out using svn \build\gyp_v8 \third_party\cygwin \third_party\icu \third_party\python_26 I put python in my path. I get the same error when I enter: python build\gyp_v8 python.exe: can't find '__main__.py'