Go into slow case when encountering object initialization on the top level to optimiz...
authorolehougaard <olehougaard@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 26 Feb 2009 07:54:22 +0000 (07:54 +0000)
committerolehougaard <olehougaard@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 26 Feb 2009 07:54:22 +0000 (07:54 +0000)
commite3c0ae62af481b632b6333f126767c44df436799
tree0002adb06f6b0e82f8c3de232aba24c1d82ea97d
parent411b7d18f6ab4ce3b1e538712a4ebed5a3095069
Go into slow case when encountering object initialization on the top level to optimize performance of code like
C.prototype.x = ...;
C.prototype.y = ...;
...
C.prototype.z = ...;
Review URL: http://codereview.chromium.org/27128

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1372 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/ast.h
src/codegen-ia32.cc
src/parser.cc
src/runtime.cc
src/runtime.h
test/mjsunit/top-level-assignments.js [new file with mode: 0644]