Reviewers: Vyacheslav Egorov, Aaron Boodman, Message: Kindly review. Thank you.
Description: Add an optional source length field to the Extension constructor. The length field allows the caller to pass in the address of a non-null- terminated string. This removes the implicit requirement that the Extension's source be null-terminated, and makes it possible for callers to send in addresses of embedded (and possibly not null-terminated) resource strings, thereby saving a certain amount of resident memory per extension. TEST=added two unit tests to test-api.cc BUG=95147 Please review this at http://codereview.chromium.org/7889046/ SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M include/v8.h M src/api.cc M src/bootstrapper.cc M src/factory.h M src/factory.cc M src/heap.h M src/heap.cc M src/objects-inl.h M src/objects.h M src/serialize.cc M test/cctest/test-api.cc -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
