- 20 Jul, 2015 24 commits
-
-
danno authored
In many cases, the context that TurboFan's ASTGraphBuilder or subsequent reduction operations attaches to nodes does not need to be that exact context, but rather only needs to be one with the same native context, because it is used internally only to fetch the native context, e.g. for creating and throwing exceptions. This reducer recognizes common cases where the context that is specified for a node can be relaxed to a canonical, less specific one. This relaxed context can either be the enclosing function's context or a specific Module or Script context that is explicitly created within the function. This optimization is especially important for TurboFan-generated code stubs which use context specialization and inlining to generate optimal code. Without context relaxation, many extraneous moves are generated to pass exactly the right context to internal functions like ToNumber and AllocateHeapNumber, which only need the native context. By turning context relaxation on, these moves disappear because all these common internal context uses are unified to the context passed into the stub function, which is typically already in the correct context register and remains there for short stubs. It also eliminates the explicit use of a specialized context constant in the code stub in these cases, which could cause memory leaks. Review URL: https://codereview.chromium.org/1244583003 Cr-Commit-Position: refs/heads/master@{#29763}
-
mstarzinger authored
Note that this just narrows the existing workaround for any 'this' in derived constructors (having a temporal dead zone) so that we can still recognize static cases correctly (i.e. when 'this' is provably outside or inside the temporal dead zone). R=rossberg@chromium.org Review URL: https://codereview.chromium.org/1245653002 Cr-Commit-Position: refs/heads/master@{#29762}
-
epertoso authored
R=jochen@chromium.org,yangguo@chromium.org Review URL: https://codereview.chromium.org/1231663007 Cr-Commit-Position: refs/heads/master@{#29761}
-
jochen authored
This will be used to compute the base pointer of the new unified representation for both on-heap and external typed arrays. The idea is that either the external or the tagged pointer is 0 (although in practice, if the tagged pointer is non-0, the external pointer will contain the offset from the start of the on-heap typed array to the data in the on-heap typed array). The HAdd is marked as depending on new-space promotion, as the tagged pointer might move during GC, and so the result of the addition needs to be recomputed. BUG=v8:3996 R=jarin@chromium.org LOG=n Review URL: https://codereview.chromium.org/1244693002 Cr-Commit-Position: refs/heads/master@{#29760}
-
epertoso authored
R=jochen@chromium.org BUG=511204 LOG=y Review URL: https://codereview.chromium.org/1246603002 Cr-Commit-Position: refs/heads/master@{#29759}
-
yangguo authored
Prior to this patch, we enter a global debug mode whenever a break point is set. By entering this mode, all code is deoptimized and activated frames are recompiled and redirected to newly compiled debug code. After this patch, we only deoptimize/redirect for functions we want to debug. Trigger for this is Debug::EnsureDebugInfo, and having DebugInfo object attached to the SFI prevents optimization/inlining. The result is that we can have optimized code for functions without break points alongside functions that do have break points, which are not optimized. R=mstarzinger@chromium.org, ulan@chromium.org BUG=v8:4132 LOG=Y Review URL: https://codereview.chromium.org/1233073005 Cr-Commit-Position: refs/heads/master@{#29758}
-
jochen authored
R=yangguo@chromium.org BUG=chromium:511988 LOG=n Review URL: https://codereview.chromium.org/1246643002 Cr-Commit-Position: refs/heads/master@{#29757}
-
rossberg authored
R=mstarzinger@chromium.org BUG=v8:4312 LOG=N Review URL: https://codereview.chromium.org/1240273002 Cr-Commit-Position: refs/heads/master@{#29756}
-
mstarzinger authored
This enables --noflush-optimized-code-cache which allows preserving entries in the optimized code map accross GCs. This only applies to values being reachable through other paths. R=hpayer@chromium.org,hablich@chromium.org Review URL: https://codereview.chromium.org/1217863006 Cr-Commit-Position: refs/heads/master@{#29755}
-
mstarzinger authored
This adds the implicit function variable for a function literal to the declarations list in scope analysis, instead of specially handling it throughout all back-ends. R=rossberg@chromium.org Review URL: https://codereview.chromium.org/1245603003 Cr-Commit-Position: refs/heads/master@{#29754}
-
mstarzinger authored
This implements the missing %DefaultConstructorCallSuper runtime functionality, thereby allowing all compilers to fall-back to that implementation when the appropriate intrinsic is missing. R=rossberg@chromium.org Review URL: https://codereview.chromium.org/1240993002 Cr-Commit-Position: refs/heads/master@{#29753}
-
rossberg authored
Also, more tests for parameters containing functions or eval or both. R=adamk@chromium.org, caitpotter88@gmail.com, littledan@chromium.org BUG=v8:811 LOG=N Review URL: https://codereview.chromium.org/1225413005 Cr-Commit-Position: refs/heads/master@{#29752}
-
hpayer authored
Revert of Reland concurrent sweeping of code space. (patchset #5 id:80001 of https://codereview.chromium.org/1225733002/) Reason for revert: Tests became flaky. Original issue's description: > Reland concurrent sweeping of code space. > > BUG=chromium:506778,chromium:506957,chromium:507211 > LOG=n > > Committed: https://crrev.com/806b81f11e3bfaef0d4330c7669e6934074be9cb > Cr-Commit-Position: refs/heads/master@{#29748} TBR=jochen@chromium.org,mvstanton@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=chromium:506778,chromium:506957,chromium:507211 Review URL: https://codereview.chromium.org/1242743002 Cr-Commit-Position: refs/heads/master@{#29751}
-
yangguo authored
The choice for the symbol seems to be locale-dependent. R=jochen@chromium.org BUG=v8:4314 LOG=N Review URL: https://codereview.chromium.org/1238133003 Cr-Commit-Position: refs/heads/master@{#29750}
-
mstarzinger authored
We should not install the SIMD object on the global object unless support for SIMD is actually turned on by the flag. Otherwise calling SIMD.Float32x4() will hit unreachable code. We accidentally SIMD. R=rossberg@chromium.org Review URL: https://codereview.chromium.org/1240223002 Cr-Commit-Position: refs/heads/master@{#29749}
-
hpayer authored
BUG=chromium:506778,chromium:506957,chromium:507211 LOG=n Review URL: https://codereview.chromium.org/1225733002 Cr-Commit-Position: refs/heads/master@{#29748}
-
ishell authored
BUG=chromium:505007 LOG=N Review URL: https://codereview.chromium.org/1238273003 Cr-Commit-Position: refs/heads/master@{#29747}
-
jacob.bramley authored
This removes a dependency on the size of the pool. Whilst the size is checked in debug mode, it is still more robust to use a label. This should also be cherry-picked to fix 4.4.63.20. (At that time, the size of the pool was _not_ checked, and was sometimes wrong.) This partially reverts 879550ce, "[arm] Don't call branch_offset within CheckConstPool." However, branch_offset now only blocks the constant pool if it is not already blocked. BUG= Review URL: https://codereview.chromium.org/1227403006 Cr-Commit-Position: refs/heads/master@{#29746}
-
adamk authored
BUG=chromium:510426 LOG=n Review URL: https://codereview.chromium.org/1246513002 Cr-Commit-Position: refs/heads/master@{#29745}
-
yangguo authored
In optimized code, it's not guaranteed that the current context is stored in its frame slot. R=bmeurer@chromium.org BUG=v8:4309 LOG=N Committed: https://crrev.com/3a0ee39cbde6a9778cfc4e2a6a0a8ff68933ff38 Cr-Commit-Position: refs/heads/master@{#29697} Review URL: https://codereview.chromium.org/1239033002 Cr-Commit-Position: refs/heads/master@{#29744}
-
ishell authored
BUG=chromium:510738 LOG=N Review URL: https://codereview.chromium.org/1228113008 Cr-Commit-Position: refs/heads/master@{#29743}
-
jochen authored
Original issue's description: > BUG=v8:4134 > LOG=n > R=yangguo@chromium.org > > Review URL: https://codereview.chromium.org/1239053004 BUG=v8:4134 LOG=n R=yangguo@chromium.org Review URL: https://codereview.chromium.org/1235603004 Cr-Commit-Position: refs/heads/master@{#29742}
-
jochen authored
Make sure it stays that way BUG=v8:4134 R=yangguo@chromium.org LOG=n Review URL: https://codereview.chromium.org/1242563003 Cr-Commit-Position: refs/heads/master@{#29741}
-
jochen authored
BUG=v8:4134 R=yangguo@chromium.org LOG=n Review URL: https://codereview.chromium.org/1244433003 Cr-Commit-Position: refs/heads/master@{#29740}
-
- 19 Jul, 2015 1 commit
-
-
v8-autoroll authored
Rolling v8/testing/gtest to 00a70a9667d92a4695d84e4fa36b64f611f147da Rolling v8/tools/clang to 6ea730d39bf31911ccef92397dbc8d71136d3899 TBR=machenbach@chromium.org Review URL: https://codereview.chromium.org/1228063006 Cr-Commit-Position: refs/heads/master@{#29739}
-
- 18 Jul, 2015 1 commit
-
-
v8-autoroll authored
Rolling v8/third_party/icu to 508e9274baaa5caa8de9cf4c26a24e926a15ccf0 TBR=machenbach@chromium.org Review URL: https://codereview.chromium.org/1236133007 Cr-Commit-Position: refs/heads/master@{#29738}
-
- 17 Jul, 2015 14 commits
-
-
caitpotter88 authored
Prevents fatal error in debug builds BUG=v8:4271, 506954 R=binji@chromium.org LOG=N Committed: https://crrev.com/43ce9c6f101c4224addd9a54e0c39963188dc7fa Cr-Commit-Position: refs/heads/master@{#29524} Review URL: https://codereview.chromium.org/1214053004 Cr-Commit-Position: refs/heads/master@{#29737}
-
binji authored
BUG=chromium:497295 R=jarin@chromium.org LOG=n Review URL: https://codereview.chromium.org/1208933006 Cr-Commit-Position: refs/heads/master@{#29736}
-
dusan.milosavljevic authored
TEST=mjsunit/asm/embenchen/zlib BUG= Review URL: https://codereview.chromium.org/1232313007 Cr-Commit-Position: refs/heads/master@{#29735}
-
hichris123 authored
NumberFormat previously just used a min of 0 digits after the decimal and a max of 3. This CL changes it so that we use the ICU currency data, and set the min and max to the number of numbers after the decimal point for each currency. This CL also fixes a small bug where if the minimum fraction digits is above 3 but the maximum fraction digits isn't set, then it returns with only three numbers after the decimal point. BUG=435465,473104,304722 LOG=Y Review URL: https://codereview.chromium.org/1231613006 Cr-Commit-Position: refs/heads/master@{#29734}
-
verwaest authored
BUG=chromium:509936 LOG=y Review URL: https://codereview.chromium.org/1241953010 Cr-Commit-Position: refs/heads/master@{#29733}
-
mbrandy authored
Port 3285e3bf Original commit message Additionally, push the allocation site or undefined independently of creating a memento to preserve a fixed size for the construct frames. R=mlippautz@chromium.org, dstence@us.ibm.com, michael_dawson@ca.ibm.com BUG= Review URL: https://codereview.chromium.org/1229163005 Cr-Commit-Position: refs/heads/master@{#29732}
-
paul.lind authored
An innocent-looking change in 'c63e50ed Reland Update V8 DEPS.' exposed latent bugs in SubStringStub and StringCharFromCodeGenerator. TEST=mjsunit/string-replace, msjunit/string-split, others.... BUG= Review URL: https://codereview.chromium.org/1233903003 Cr-Commit-Position: refs/heads/master@{#29731}
-
machenbach authored
Revert of Make d8 stop using to-be-deprecated APIs (patchset #3 id:40001 of https://codereview.chromium.org/1239053004/) Reason for revert: [Sheriff] Breaks: http://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20debug%20-%20code%20serializer/builds/3400 Original issue's description: > Make d8 stop using to-be-deprecated APIs > > BUG=v8:4134 > LOG=n > R=yangguo@chromium.org > > Committed: https://crrev.com/af82ef84b4f851411f00e69167ab29382c7499b8 > Cr-Commit-Position: refs/heads/master@{#29726} TBR=yangguo@chromium.org,jochen@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=v8:4134 Review URL: https://codereview.chromium.org/1240993003 Cr-Commit-Position: refs/heads/master@{#29730}
-
ishell authored
Revert of Reland "Enable loads and stores to global vars through property cell shortcuts installed into paren… (patchset #1 id:1 of https://codereview.chromium.org/1237043006/) Reason for revert: chromium:510738, chromium:510911 Original issue's description: > Reland "Enable loads and stores to global vars through property cell shortcuts installed into parent script context." > > Committed: https://crrev.com/48584df5ed97e2cdec1b4900f783c47adc3a3d32 > Cr-Commit-Position: refs/heads/master@{#29670} TBR=verwaest@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1238163002 Cr-Commit-Position: refs/heads/master@{#29729}
-
verwaest authored
BUG=chromium:509936 LOG=y Review URL: https://codereview.chromium.org/1228113007 Cr-Commit-Position: refs/heads/master@{#29728}
-
verwaest authored
BUG=chromium:509936 LOG=y Review URL: https://codereview.chromium.org/1241973003 Cr-Commit-Position: refs/heads/master@{#29727}
-
jochen authored
BUG=v8:4134 LOG=n R=yangguo@chromium.org Review URL: https://codereview.chromium.org/1239053004 Cr-Commit-Position: refs/heads/master@{#29726}
-
verwaest authored
BUG=chromium:509936 LOG=y Review URL: https://codereview.chromium.org/1242123002 Cr-Commit-Position: refs/heads/master@{#29725}
-
jochen authored
Don't chicken out on upload already, and ignore 'none' value BUG=none R=machenbach@chromium.org Review URL: https://codereview.chromium.org/1237353003 Cr-Commit-Position: refs/heads/master@{#29724}
-