v8/include
bmeurer 4fc6f54724 [stubs] Unify (and optimize) implementation of ToObject.
This is the initial (big) step towards a more uniform implementation of
the ToObject abstract operation (ES6 7.1.13), where we have a fallback
implementation in JSReceiver::ToObject() and a fast (hydrogen) CodeStub
to deal with the fast case (we should be able to do more cleanup on this
in a followup CL).  For natives we expose the abstract operation via a
%_ToObject intrinsic, also exposed via a macro TO_OBJECT, that unifies
the previous confusion with TO_OBJECT_INLINE, ToObject, TO_OBJECT,
$toObject and %$toObject.  Now the whole implementation of the abstract
operation is context independent, meaning we don't need any magic in the
builtins object nor the native context.

R=mvstanton@chromium.org,yangguo@chromium.org

Review URL: https://codereview.chromium.org/1266013006

Cr-Commit-Position: refs/heads/master@{#29953}
2015-07-31 12:25:44 +00:00
..
libplatform Revert "Forward declaration for Isolate / Platform in libplatform.h." and "Fixes d8 on windows following.". 2014-11-19 07:28:07 +00:00
OWNERS Add myself to include/OWNERS 2015-04-21 10:05:59 +00:00
v8-debug.h Make v8::Handle as "deprecated soon" 2015-07-06 07:09:13 +00:00
v8-platform.h Add IdleTask API to v8::Platform. 2015-07-15 11:51:03 +00:00
v8-profiler.h Make v8::Handle as "deprecated soon" 2015-07-06 07:09:13 +00:00
v8-testing.h Bulk update of Google copyright headers in source files. 2014-04-29 06:42:26 +00:00
v8-util.h Let the second pass phantom callbacks run in a separate task on the foreground thread. 2015-07-15 12:26:11 +00:00
v8-version.h Updated version to 4.6 2015-07-10 12:48:29 +00:00
v8.h [stubs] Unify (and optimize) implementation of ToObject. 2015-07-31 12:25:44 +00:00
v8config.h Using "defined" in macro causes undefined behavior. 2015-06-29 11:48:06 +00:00