v8/tools
rossberg@chromium.org 670f947a5c Implement set trap for proxies, and revamp class hierarchy in preparation:
- Introduce a class JSReceiver, that is a common superclass of JSObject and
  JSProxy. Use JSReceiver where appropriate (probably lots of places that we
  still have to migrate, but we will find those later with proxy test suite).

- Move appropriate methods to JSReceiver class (SetProperty,
  GetPropertyAttribute, Get/SetPrototype, Lookup, and so on).

- Introduce new JSFunctionProxy subclass of JSProxy. Currently only a stub.

- Overhaul enum InstanceType:
  * Introduce FIRST/LAST_SPEC_OBJECT_TYPE that ranges over all types that
    represent JS objects, and use that consistently to check language types.
  * Rename FIRST/LAST_JS_OBJECT_TYPE and FIRST/LAST_FUNCTION_CLASS_TYPE
    to FIRST/LAST_[NON]CALLABLE_SPEC_OBJECT_TYPE for clarity.
  * Eliminate the overlap over JS_REGEXP_TYPE.
  * Also replace FIRST_JS_OBJECT with FIRST_JS_RECEIVER, but only use it where
    we exclusively talk about the internal representation type.
  * Insert JS_PROXY and JS_FUNCTION_PROXY in the appropriate places.

- Fix all checks concerning classification, especially for functions, to
  use the CALLABLE_SPEC_OBJECT range (that includes funciton proxies).

- Handle proxies in SetProperty (that was the easiest part :) ).

- A few simple test cases.

R=kmillikin@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8126 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2011-05-31 16:38:40 +00:00
..
gcmole Extend GCMole with poor man's data flow analysis to catch dead raw pointer vars. 2011-05-16 09:06:16 +00:00
gyp Platform and build updates for Android build 2011-05-24 14:49:02 +00:00
oom_dump Add os_error stat to oom_dump utility. 2010-08-30 12:26:58 +00:00
v8.xcodeproj Isolates cleanup: move top.cc to isolate.cc. 2011-05-13 08:54:16 +00:00
visual_studio Remove the Visual Studio project files 2011-05-02 13:43:13 +00:00
codemap.js Shorten constructor names in JS tickprocessor. 2011-02-10 07:47:28 +00:00
consarray.js TickProcessor script reimplemented in JavaScript. 2009-04-27 13:50:42 +00:00
csvparser.js Shorten constructor names in JS tickprocessor. 2011-02-10 07:47:28 +00:00
disasm.py grokdump: Simple windows minidump analysis on linux. 2011-02-22 14:25:26 +00:00
freebsd-tick-processor * Fix build errors on FreeBSD 8.2 2011-03-16 11:15:43 +00:00
gc-nvp-trace-processor.py Enhance gc-nvp-trace-processor.py: 2011-05-24 12:19:57 +00:00
generate-ten-powers.scm Fast double-to-ascii conversion. 2010-03-11 14:49:35 +00:00
grokdump.py Implement set trap for proxies, and revamp class hierarchy in preparation: 2011-05-31 16:38:40 +00:00
js2c.py Introduce experimental natives that are enabled by a runtime flag. 2011-04-15 12:31:03 +00:00
jsmin.py Inline a number of simple date computations. 2010-01-08 07:49:07 +00:00
linux-tick-processor * Fix build errors on FreeBSD 8.2 2011-03-16 11:15:43 +00:00
ll_prof.py ll_prof: Output tick percentage by symbol/library. 2011-05-18 15:08:50 +00:00
logreader.js Shorten constructor names in JS tickprocessor. 2011-02-10 07:47:28 +00:00
mac-nm Fix mac-nm script to support filenames w/spaces 2009-08-13 14:03:12 +00:00
mac-tick-processor Implement shared libraries logging on Mac OS X, added required support in Tick Processor. 2009-07-14 05:01:06 +00:00
presubmit.py Working stand-alone preparser. 2010-11-24 09:57:06 +00:00
process-heap-prof.py Report both size and count from the heap profile processor 2009-11-10 10:18:41 +00:00
profile_view.js Shorten constructor names in JS tickprocessor. 2011-02-10 07:47:28 +00:00
profile.js Fix CPU profiling for Crankshaft. 2011-02-22 16:31:24 +00:00
run-valgrind.py Changed valgrind script to match changed output format 2009-09-17 12:13:08 +00:00
splaytree.js Shorten constructor names in JS tickprocessor. 2011-02-10 07:47:28 +00:00
stats-viewer.py tools/stats-viewer: Update chromium stats table layout. 2011-05-25 16:47:54 +00:00
test.py Let test configuration disable variant flags. Used for preparser tests. 2011-05-09 09:02:27 +00:00
tickprocessor-driver.js Fix issue 571: display descriptive names for code objects from snapshot. 2010-01-18 16:04:25 +00:00
tickprocessor.js Add initialization for has_external_callback field. 2011-03-30 13:30:52 +00:00
utils.py Cygwin support 2011-02-17 16:33:10 +00:00
windows-tick-processor.bat Make windows-tick-processor respect D8_PATH. 2010-10-25 15:04:08 +00:00