Support for calls on named and keyed properties in the fast compiler of the form:
authorfschneider@chromium.org <fschneider@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 30 Oct 2009 10:22:31 +0000 (10:22 +0000)
committerfschneider@chromium.org <fschneider@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 30 Oct 2009 10:22:31 +0000 (10:22 +0000)
commit07cd399b5cc408f9ae84cb623492e1671380d7bb
treefb1d72936930114a8b4106c9b29c9cd9d7b6015b
parent2181c96d61a51cdffe1d1308a8173a9f7e31a6b9
Support for calls on named and keyed properties in the fast compiler of the form:

o.x() and o[expr]()

other changes:
- Fix missing relocation info for StoreIC on global object.
- Generate only one common return sequence instead of always appending
  "return <undefined>" at the end of each function: The first JS
  return-statement will generate the common return sequence. All
  other return-statements will generate a unconditional branch to the common
  return sequence.

Review URL: http://codereview.chromium.org/340037

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3183 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
12 files changed:
src/arm/codegen-arm.cc
src/arm/codegen-arm.h
src/arm/fast-codegen-arm.cc
src/compiler.cc
src/fast-codegen.h
src/ia32/codegen-ia32.cc
src/ia32/codegen-ia32.h
src/ia32/fast-codegen-ia32.cc
src/x64/codegen-x64.cc
src/x64/codegen-x64.h
src/x64/fast-codegen-x64.cc
test/mjsunit/compiler/function-call.js [new file with mode: 0644]