- 21 Oct, 2014 3 commits
-
-
dslomov@chromium.org authored
Updates Object.prototype.toString() to use algorithm described in harmony drafts. Currently, the behaviour is essentially the same as ES262's version, however this changes when internal structures such as Promise make use of symbolToStringTag (as they are supposed to, see v8:3241), and changes further once Symbol.toStringTag is exposed publicly. BUG=v8:3241, v8:3502 LOG=N R=dslomov@chromium.org Review URL: https://codereview.chromium.org/546803003 Patch from Caitlin Potter <caitpotter88@gmail.com>. git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24783 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
verwaest@chromium.org authored
BUG= R=dcarney@chromium.org Review URL: https://codereview.chromium.org/670703002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24767 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
svenpanne@chromium.org authored
Basically a follow-up to https://codereview.chromium.org/667573005/. LOG=y R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/670673002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24755 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 20 Oct, 2014 1 commit
-
-
yangguo@chromium.org authored
R=dcarney@chromium.org Review URL: https://codereview.chromium.org/665883002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24744 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 17 Oct, 2014 1 commit
-
-
haraken@chromium.org authored
The Isolate version of v8::VisitHandlesWithClassIds is needed for https://codereview.chromium.org/651713002/ R=dcarney@chromium.org Review URL: https://codereview.chromium.org/664473002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24671 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 16 Oct, 2014 1 commit
-
-
aandrey@chromium.org authored
This will be needed to get a stack trace from a DOMException. API=v8::Exception::GetStackTrace R=yangguo@chromium.org LOG=Y Review URL: https://codereview.chromium.org/655243002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24655 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 14 Oct, 2014 1 commit
-
-
ulan@chromium.org authored
Introduce an object that holds a weak reference. Design document: http://goo.gl/9dSvvy. BUG= R=erik.corry@gmail.com Review URL: https://codereview.chromium.org/640303006 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24606 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 08 Oct, 2014 2 commits
-
-
mstarzinger@chromium.org authored
R=rossberg@chromium.org Review URL: https://codereview.chromium.org/635323002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24471 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jochen@chromium.org authored
BUG=v8:3618 R=ishell@chromium.org, svenpanne@chromium.org LOG=n Review URL: https://codereview.chromium.org/637263002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24453 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 07 Oct, 2014 2 commits
-
-
jochen@chromium.org authored
Embedders that used this method to be able to store a Persistent in a container should use one of the containers in v8-util.h instead. Other uses are no longer supported. BUG=none R=dcarney@chromium.org LOG=y Review URL: https://codereview.chromium.org/635513002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24436 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
R=aandrey@chromium.org BUG=chromium:393913 LOG=N Review URL: https://codereview.chromium.org/630373003 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24432 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 06 Oct, 2014 2 commits
-
-
erikcorry@chromium.org authored
This relands https://codereview.chromium.org/619913002/ The test has been fixed to do a GC so it does not appear to leak in ASAN. In addition the test has been fixed to work in the no-i18n build, by incorporating the change from https://codereview.chromium.org/631743002/ R=ishell@chromium.org BUG= Review URL: https://codereview.chromium.org/628223002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24423 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
https://codereview.chromium.org/619913002/erikcorry@chromium.org authored
This is due to breakage on the ASAN memory leak bot, possibly due to pre-existing leaks in v8BreakIterator(). R=ishell@chromium.org BUG= Review URL: https://codereview.chromium.org/636493004 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24409 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 Oct, 2014 1 commit
-
-
erikcorry@chromium.org authored
R=marja@chromium.org BUG= Review URL: https://codereview.chromium.org/619913002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24400 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 02 Oct, 2014 3 commits
-
-
yangguo@chromium.org authored
R=mvstanton@chromium.org Review URL: https://codereview.chromium.org/604373008 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24391 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jochen@chromium.org authored
On Win64, the first page is reserved for the embedder. BUG=v8:3597 R=svenpanne@chromium.org LOG=n Review URL: https://codereview.chromium.org/619233003 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24383 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
API=v8::Object::GetIsolate() LOG=Y R=svenpanne@chromium.org Review URL: https://codereview.chromium.org/617263003 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24376 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 01 Oct, 2014 3 commits
-
-
yangguo@chromium.org authored
R=dslomov@chromium.org Review URL: https://codereview.chromium.org/618213002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24362 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
This reverts r24345. TBR=bmeurer@chromium.org Review URL: https://codereview.chromium.org/618123005 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24346 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
Also refactor symbols in the root list. R=dslomov@chromium.org Review URL: https://codereview.chromium.org/614083002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24345 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 30 Sep, 2014 1 commit
-
-
yangguo@chromium.org authored
R=aandrey@chromium.org, yurys@chromium.org, rossberg@chromium.org API=v8::Isolate::SetPromiseRejectCallback, v8::Promise::HasHandler LOG=Y BUG=v8:3093 Review URL: https://codereview.chromium.org/600723005 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24335 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 29 Sep, 2014 3 commits
-
-
alph@chromium.org authored
The patch is based on https://codereview.chromium.org/578163002/#ps20001 made by gholap@chromium.org LOG=N BUG=v8:3490 R=bmeurer@chromium.org, yurys@chromium.org Review URL: https://codereview.chromium.org/596533002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24285 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jochen@chromium.org authored
Since the x64 backend currently doesn't emit ABI compliant code, it is not possible to unwind the stack. During Win64 SEH this will cause the exception handling to abort, and not even call the unhandled exception handler. Embedders are advised to install a custom unwind callback using RtlInstallFunctionTableCallback for the entire code range to catch unwind attempts for exception handling. BUG=v8:3598 R=svenpanne@chromium.org LOG=y Review URL: https://codereview.chromium.org/612043002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24283 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
aandrey@chromium.org authored
R=ulan@chromium.org, yangguo@chromium.org, wingo, yangguo Review URL: https://codereview.chromium.org/608503002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24278 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 19 Sep, 2014 2 commits
-
-
jochen@chromium.org authored
Embedders should either pass the information to via Isolate::CreateParams or use Isolate::SetStackLimit where appropriate BUG=none R=svenpanne@chromium.org LOG=y Review URL: https://codereview.chromium.org/584843002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24080 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jochen@chromium.org authored
> We also initialize the Isolate on creation. > > This should allow for getting rid of the last remaining default isolate > traces. Also, it'll speed up several isolate related operations that no > longer require locks. > > Embedders that relied on v8::Isolate to return an uninitialized Isolate > (so they can set ResourceConstraints for example, or set flags that > modify the way the isolate is created) should either do the setup before > creating the isolate, or use the recently added CreateParams to pass e.g. > ResourceConstraints. > > BUG=none > LOG=y > R=svenpanne@chromium.org > > Review URL: https://codereview.chromium.org/469783002 BUG=none LOG=y TBR=svenpanne@chromium.org Review URL: https://codereview.chromium.org/583153002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24067 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 18 Sep, 2014 2 commits
-
-
jochen@chromium.org authored
LOG=n TBR=svenpanne@chromium.org BUG=none Review URL: https://codereview.chromium.org/582953002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24055 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jochen@chromium.org authored
We also initialize the Isolate on creation. This should allow for getting rid of the last remaining default isolate traces. Also, it'll speed up several isolate related operations that no longer require locks. Embedders that relied on v8::Isolate to return an uninitialized Isolate (so they can set ResourceConstraints for example, or set flags that modify the way the isolate is created) should either do the setup before creating the isolate, or use the recently added CreateParams to pass e.g. ResourceConstraints. BUG=none LOG=y R=svenpanne@chromium.org Review URL: https://codereview.chromium.org/469783002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24052 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 16 Sep, 2014 1 commit
-
-
jochen@chromium.org authored
We can only set resource constraints before the isolate is initialized. Since in the future, we want to initialize isolates at construction time, we need to set constraints there. It's possible to later modify the stack limit, so introduce an Isolate::SetStackLimit method for that. The SetResourceConstraints method will be deprecated. Users should pass ResourceConstraints to Isolate::New, and use Isolate::SetStackLimit to later modify the stack limit. BUG=none R=svenpanne@chromium.org LOG=y Review URL: https://codereview.chromium.org/559993005 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23964 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 15 Sep, 2014 1 commit
-
-
jochen@chromium.org authored
several API methods will automatically initialize it. During this uninitialized state, code event handlers and function entry handlers can be attached to the isolate. This CL deprecates SetFunctionEntryHook and moves the configuration of those handlers to the Isolate factory method. This will allow for initializing the Isolate at creation time in the future. Users of V8::SetFunctionEntryHook should pass the entry hook to Isolate::New instead. V8::SetJitCodeEventHandler should either be passed to Isolate::New as well, or (if startup events are not required) invoked via the Isolate. BUG=none LOG=y R=svenpanne@chromium.org Review URL: https://codereview.chromium.org/570993002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23940 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 12 Sep, 2014 1 commit
-
-
marja@chromium.org authored
Blink will use this API to stream script data into V8 as the scripts load. During loading, V8 can already parse the scripts. They will be then compiled and executed when the loading is complete. This is a reincarnation of https://codereview.chromium.org/366153002/ with fixes. BUG= R=jochen@chromium.org, rossberg@chromium.org, svenpanne@chromium.org, yangguo@chromium.org Review URL: https://codereview.chromium.org/566553002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23904 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 11 Sep, 2014 3 commits
-
-
marja@chromium.org authored
This reverts r23865 Revert "Fix compilation after r23865." This reverts r23867 Reason: the test contains characters too special for Windows's taste. TBR=ulan@chromium.org BUG= Review URL: https://codereview.chromium.org/545203003 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23868 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
marja@chromium.org authored
TBR=ulan@chromium.org BUG= Review URL: https://codereview.chromium.org/549043003 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23867 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
marja@chromium.org authored
Blink will use this API to stream script data into V8 as the scripts load. During loading, V8 can already parse the scripts. They will be then compiled and executed when the loading is complete. BUG= R=jochen@chromium.org, rossberg@chromium.org, svenpanne@chromium.org, yangguo@chromium.org Review URL: https://codereview.chromium.org/366153002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23865 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 10 Sep, 2014 1 commit
-
-
yangguo@chromium.org authored
R=dcarney@chromium.org, marja@chromium.org Review URL: https://codereview.chromium.org/559913002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23840 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 09 Sep, 2014 1 commit
-
-
svenpanne@chromium.org authored
R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/555053002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23788 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 01 Sep, 2014 1 commit
-
-
bmeurer@chromium.org authored
The "enum hack" (see Item 2 of "Effective C++") is the only known portable way to define constant integral values within template classes. Fixes the weird work-arounds required for certain GCC versions. R=jarin@chromium.org, rossberg@chromium.org Review URL: https://codereview.chromium.org/527603002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23550 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 25 Aug, 2014 2 commits
-
-
mvstanton@chromium.org authored
Vector based load ics need a premonomorphic and generic symbol. R=verwaest@chromium.org Review URL: https://codereview.chromium.org/505763002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23365 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
aandrey@chromium.org authored
These checks will be needed for DevTools. R=yangguo@chromium.org, svenpanne@chromium.org Review URL: https://codereview.chromium.org/464413002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23338 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 21 Aug, 2014 1 commit
-
-
dslomov@chromium.org authored
R=arv@chromium.org, verwaest@chromium.org BUG=v8:3330 LOG=N Review URL: https://codereview.chromium.org/475423003 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23274 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-