Reviewers: Kasper Lund,

Description:
Put direct code pointers into JSFunction objects. This is a first step
in allowing more flexible compilation and to simplify builtins lookup.

This changes a number of places where code objects are assigned to
SharedFunctionInfo objects to also assign this code object to the
JSFunction. In addition, the code flushing is changed slightly to
accomodate this (we need to flush the code from functions pointing to
SharedFunctionInfo objects that has already been flushed).



Please review this at http://codereview.chromium.org/3120006/show

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/accessors.cc
  M     src/arm/builtins-arm.cc
  M     src/arm/codegen-arm.cc
  M     src/arm/macro-assembler-arm.cc
  M     src/bootstrapper.cc
  M     src/factory.cc
  M     src/handles.cc
  M     src/heap.cc
  M     src/ia32/builtins-ia32.cc
  M     src/ia32/codegen-ia32.cc
  M     src/ia32/macro-assembler-ia32.cc
  M     src/objects-inl.h
  M     src/objects.h
  M     src/runtime.cc
  M     src/serialize.h
  M     src/x64/builtins-x64.cc
  M     src/x64/codegen-x64.cc
  M     src/x64/macro-assembler-x64.cc


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to