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)
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
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
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'