Reviewers: Kevin Millikin, Message: This only works on IA32 so far, but I wanted to get a first round of reviews before I start porting it to other architectures.
Description: Implement ICs for constructor calls. This reuses the CallIC machinery for calling functions as constructors by flagging those CallICs with a bit in the ExtraICState. The CallIC in turn will dispatch to the function-specific construct stub. It also introduces new base class (i.e. CallBase) for all AST nodes having a call-like semantic (i.e. Call and CallNew). [email protected] Please review this at http://codereview.chromium.org/8883011/ SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge Affected files: M src/ast.h M src/ast.cc M src/full-codegen.h M src/full-codegen.cc M src/ia32/builtins-ia32.cc M src/ia32/full-codegen-ia32.cc M src/ia32/ic-ia32.cc M src/ia32/lithium-codegen-ia32.cc M src/ia32/macro-assembler-ia32.h M src/ia32/macro-assembler-ia32.cc M src/ia32/stub-cache-ia32.cc M src/ic.h M src/ic.cc M src/objects-inl.h M src/stub-cache.h M src/stub-cache.cc -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
