- 12 Aug, 2015 10 commits
-
-
mstarzinger authored
R=yangguo@chromium.org Review URL: https://codereview.chromium.org/1283023002 Cr-Commit-Position: refs/heads/master@{#30131}
-
mstarzinger authored
R=yangguo@chromium.org Review URL: https://codereview.chromium.org/1283653004 Cr-Commit-Position: refs/heads/master@{#30130}
-
bmeurer authored
Don't use IS_NULL_OR_UNDEFINED() for CHECK_OBJECT_COERCIBLE() because it will also return true for undetectable objects, but use IS_NULL() and IS_UNDEFINED() directly, which will only return true for null or undefined (which matches the semantics of the abstract operation CheckObjectCoercible). R=yangguo@chromium.org Review URL: https://codereview.chromium.org/1287033002 Cr-Commit-Position: refs/heads/master@{#30129}
-
yangguo authored
R=danno@chromium.org Review URL: https://codereview.chromium.org/1285543002 Cr-Commit-Position: refs/heads/master@{#30128}
-
mstarzinger authored
R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/1283183002 Cr-Commit-Position: refs/heads/master@{#30127}
-
mstarzinger authored
R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/1289553002 Cr-Commit-Position: refs/heads/master@{#30126}
-
mstarzinger authored
This tries to remove includes of "-inl.h" headers from normal ".h" headers, thereby reducing the chance of any cyclic dependencies and decreasing the average size of our compilation units. Note that this change still leaves 7 violations of that rule in the code. However there now is the "tools/check-inline-includes.sh" tool detecting such violations. R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/1283033003 Cr-Commit-Position: refs/heads/master@{#30125}
-
yangguo authored
R=bmeurer@chromium.org BUG=chromium:517594 LOG=N Review URL: https://codereview.chromium.org/1286143002 Cr-Commit-Position: refs/heads/master@{#30124}
-
thestig authored
Clang says: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] Review URL: https://codereview.chromium.org/1284013003 Cr-Commit-Position: refs/heads/master@{#30123}
-
littledan authored
In an initial attempt to implement sloppy mode lexical bindings, functions were made lexically scoped in sloppy mode. However, the ES2015 spec says that they need an additional hoisted var binding, and further, it's not clear when we'll implement that behavior or whether it's web-compatible. This patch splits off function block scoping into a new, separate flag called --harmony_sloppy_function. This change will enable the possibility of testing and shipping this feature separately from other block scoping-related features which don't have the same risks. BUG=v8:4285 R=adamk LOG=N Review URL: https://codereview.chromium.org/1282093002 Cr-Commit-Position: refs/heads/master@{#30122}
-
- 11 Aug, 2015 24 commits
-
-
domenic authored
BUG=v8:3575 R=adamk@chromium.org, rossberg@chromium.org LOG=Y CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng;tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1283963002 Cr-Commit-Position: refs/heads/master@{#30121}
-
littledan authored
In ES6, direct eval() in sloppy mode uses the enclosing function-level ("var") scope for var-style bindings and a new lexical scope for lexical bindings like let and class. This patch implements that feature by making lexical bindings that are directly within an EVAL_SCOPE be on the local scope rather than the enclosing one. BUG=v8:4288 LOG=Y R=adamk Review URL: https://codereview.chromium.org/1274193004 Cr-Commit-Position: refs/heads/master@{#30120}
-
bmeurer authored
This way we can greatly simplify the different variants of ToObject in our codebase and make them more uniform and robust. Adding a new primitive doesn't require finding and changing all those places again, but it is sufficient to setup the constructor function index when allocating the map. We use the inobject properties field of Map, which is invalid primitive maps anyway. R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/1276533003 Cr-Commit-Position: refs/heads/master@{#30119}
-
littledan authored
R=adamk BUG=chromium:135066 LOG=N Review URL: https://codereview.chromium.org/1279203002 Cr-Commit-Position: refs/heads/master@{#30118}
-
domenic authored
R=littledan@chromium.org, adamk@chromium.org BUG=v8:3575 LOG=Y Review URL: https://codereview.chromium.org/1283703004 Cr-Commit-Position: refs/heads/master@{#30117}
-
adamk authored
The previous approach to this (in 1b1de2d2) did not work well with bots that intentionally run no tests. But I think this warning message is still useful for developers. Review URL: https://codereview.chromium.org/1281313004 Cr-Commit-Position: refs/heads/master@{#30116}
-
titzer authored
Reland: [turbofan] Various fixes to allow unboxed doubles as arguments in registers and on the stack. OCL: https://codereview.chromium.org/1263033004/ R=mstarzinger@chromium.org BUG= Review URL: https://codereview.chromium.org/1284893002 Cr-Commit-Position: refs/heads/master@{#30115}
-
hpayer authored
Also remove unused max_capcity_ field in old spaces. BUG=chromium:518028,chromium:504854 LOG=n Review URL: https://codereview.chromium.org/1284853003 Cr-Commit-Position: refs/heads/master@{#30114}
-
binji authored
BUG=v8:4357 R=machenbach@chromium.org LOG=n Review URL: https://codereview.chromium.org/1285723003 Cr-Commit-Position: refs/heads/master@{#30113}
-
vogelheim authored
Revert of Debugger: clear shared function info list when recompiling for liveedit. (patchset #1 id:1 of https://codereview.chromium.org/1270313003/ ) Reason for revert: Sorry for revert, but this change breaks one of the webkit-unit-tests. Example here: https://storage.googleapis.com/chromium-layout-test-archives/V8-Blink_Win/1178/layout-test-results/inspector/sources/debugger/live-edit-no-reveal-diff.txt Not sure if the old expectations were right, or the new ones are. :) Original issue's description: > Debugger: clear shared function info list when recompiling for liveedit. > > R=bmeurer@chromium.org > BUG=chromium:517594 > LOG=N > > Committed: https://crrev.com/9eea3ef5147a5e15256093fb4c36a7598d60d128 > Cr-Commit-Position: refs/heads/master@{#30111} TBR=bmeurer@chromium.org,yangguo@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=chromium:517594 Review URL: https://codereview.chromium.org/1279613008 Cr-Commit-Position: refs/heads/master@{#30112}
-
yangguo authored
R=bmeurer@chromium.org BUG=chromium:517594 LOG=N Review URL: https://codereview.chromium.org/1270313003 Cr-Commit-Position: refs/heads/master@{#30111}
-
mstarzinger authored
R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/1290453002 Cr-Commit-Position: refs/heads/master@{#30110}
-
mstarzinger authored
R=hpayer@chromium.org Review URL: https://codereview.chromium.org/1272933004 Cr-Commit-Position: refs/heads/master@{#30109}
-
bmeurer authored
First step to simplify the TypeofStub. This is similar to the optimization that we use for ToNumber and ToString on Oddballs already. R=yangguo@chromium.org Review URL: https://codereview.chromium.org/1272763005 Cr-Commit-Position: refs/heads/master@{#30108}
-
bmeurer authored
There's no need to have one InstanceType per SIMD primitive type (this will not scale long-term). Also reduce the amount of code duplication and make it more robust wrt adding new SIMD types. R=yangguo@chromium.org Review URL: https://codereview.chromium.org/1273353003 Cr-Commit-Position: refs/heads/master@{#30107}
-
yangguo authored
R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/1286653004 Cr-Commit-Position: refs/heads/master@{#30106}
-
yangguo authored
This avoids many back-and-forth calls to the runtime. This also slightly changes the way we avoid getters. Previously, we circumvent getting the name property of ReferenceError, SyntaxError and TypeError due to crbug/69187 (in order to avoid leaking information from those errors through a 'name' getter installed on their prototypes). Now we do that for all errors created by V8. R=jkummerow@chromium.org, rossberg@chromium.org BUG=crbug:513472, crbug:69187 LOG=N Review URL: https://codereview.chromium.org/1281833002 Cr-Commit-Position: refs/heads/master@{#30105}
-
yangguo authored
R=mstarzinger@chromium.org BUG=chromium:517592 LOG=N Review URL: https://codereview.chromium.org/1285793002 Cr-Commit-Position: refs/heads/master@{#30104}
-
saper authored
The following errors come up when compiling v8 with clang 3.7 on FreeBSD/amd64: src/runtime/runtime-i18n.cc:629:37: error: reinterpret_cast from 'nullptr_t' to 'v8::internal::Smi *' is not allowed local_object->SetInternalField(1, reinterpret_cast<Smi*>(NULL)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/cctest/test-heap.cc:131:20: error: reinterpret_cast from 'nullptr_t' to 'v8::internal::Object *' is not allowed Handle<Object> n(reinterpret_cast<Object*>(NULL), isolate); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/cctest/test-heap.cc:1989:18: error: reinterpret_cast from 'nullptr_t' to 'Address' (aka 'unsigned char *') is not allowed Address base = reinterpret_cast<Address>(NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +add myself to the AUTHORS file. BUG= Review URL: https://codereview.chromium.org/1277353002 Cr-Commit-Position: refs/heads/master@{#30103}
-
mstarzinger authored
This is the first step of turning the v8.h file into a normal header instead of an include-the-world header. The new rule is that no other header files are allowed to include v8.h, which is enforced by DEPS. Also the number of includes inside the v8.h file has been drastically reduced. Basically the last missing piece is the inclusion of the big objects-inl.h file. This in turn makes many headers follow the IWYU principle. R=bmeurer@chromium.org,hpayer@chromium.org,titzer@chromium.org Review URL: https://codereview.chromium.org/1282503003 Cr-Commit-Position: refs/heads/master@{#30102}
-
yangguo authored
Revert of [turbofan] Various fixes to allow unboxed doubles as arguments in registers and on the stack. (patchset #7 id:120001 of https://codereview.chromium.org/1263033004/ ) Reason for revert: This CL breaks MIPS (roll blocker). https://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20mipsel%20-%20sim/builds/2061/steps/Check/logs/Run_Int32_Select_1 Original issue's description: > [turbofan] Various fixes to allow unboxed doubles as arguments in registers and on the stack. > > R=jarin@chromium.org > BUG= > > Committed: https://crrev.com/71409be5395f867bbca0f6998bf6caa175cd8192 > Cr-Commit-Position: refs/heads/master@{#30091} TBR=jarin@chromium.org,titzer@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG= Review URL: https://codereview.chromium.org/1284853002 Cr-Commit-Position: refs/heads/master@{#30101}
-
v8-autoroll authored
Rolling v8/tools/clang to b66ad18bb147f02b74b207358140371382b0ef35 TBR=machenbach@chromium.org Review URL: https://codereview.chromium.org/1281053003 Cr-Commit-Position: refs/heads/master@{#30100}
-
binji authored
BUG=chromium:518747 R=mstarzinger@chromium.org LOG=n Review URL: https://codereview.chromium.org/1277543006 Cr-Commit-Position: refs/heads/master@{#30099}
-
adamk authored
R=littledan@chromium.org BUG=v8:4304 LOG=n Review URL: https://codereview.chromium.org/1282013002 Cr-Commit-Position: refs/heads/master@{#30098}
-
- 10 Aug, 2015 6 commits
-
-
machenbach authored
Revert of Make run-tests.py warn when it's not testing anything (patchset #1 id:1 of https://codereview.chromium.org/1283513003/ ) Reason for revert: Some bots that don't run tests (by design) don't return the test results json anymore which makes the infrastructure side fail now. Original issue's description: > Make run-tests.py warn when it's not testing anything > > I've often been confused by an "all passed" run of the test script > when it turned out that either all the tests I cared about were skipped > or, more likely, I mistyped the name(s) of the tests I wanted to run. > This patch aims to fix that (and gives a useful diagnostic for the > "all matched tests were skipped" case). > > R=machenbach@chromium.org > NOTRY=true > > Committed: https://crrev.com/1b1de2d221a0ed23e529e91bf9fa3dc287acb2ca > Cr-Commit-Position: refs/heads/master@{#30095} TBR=jkummerow@chromium.org,adamk@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1283593005 Cr-Commit-Position: refs/heads/master@{#30097}
-
rmcilroy authored
Moves the creation of the interpreter table early on during initialization to ensure that even on nosnap builds it still gets allocated in the first page. BUG=v8:4280 LOG=N Review URL: https://codereview.chromium.org/1278413002 Cr-Commit-Position: refs/heads/master@{#30096}
-
adamk authored
I've often been confused by an "all passed" run of the test script when it turned out that either all the tests I cared about were skipped or, more likely, I mistyped the name(s) of the tests I wanted to run. This patch aims to fix that (and gives a useful diagnostic for the "all matched tests were skipped" case). R=machenbach@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/1283513003 Cr-Commit-Position: refs/heads/master@{#30095}
-
adamk authored
R=machenbach@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/1279613005 Cr-Commit-Position: refs/heads/master@{#30094}
-
mstarzinger authored
R=mlippautz@chromium.org Review URL: https://codereview.chromium.org/1283833002 Cr-Commit-Position: refs/heads/master@{#30093}
-
mstarzinger authored
This is a first step towards constraining down the heap interface to just the heap.h file. Note that many includes still leak through that file to the global "src" directory, but there now is a single place controlling which declarations leak that way. Especially inclusion of inline header files within "heap" has been limited drastically. R=hpayer@chromium.org,mlippautz@chromium.org Review URL: https://codereview.chromium.org/1281233003 Cr-Commit-Position: refs/heads/master@{#30092}
-