- 16 Nov, 2016 5 commits
-
-
jing.bao authored
BUG= Review-Url: https://codereview.chromium.org/2509603002 Cr-Commit-Position: refs/heads/master@{#41020}
-
jgruber authored
This CL further extends the debug wrapper, migrates around 60 tests, and removes a few tests that use functionality we will not support anymore. In more detail: * Removed tests that use: * enable/disable individual breakpoints * invocationText() * the ScriptCollected event * showBreakPoints * evalFromScript (and similar) * mirror.constructedBy and mirror.referencedBy * event_data.promise() * Some frame.evaluate uses were adapted since due to differences between remote objects (inspector) and mirrors. For instance, exceptions are currently not recreated exactly, since the inspector protocol does not give us the stack and message separately. Other objects (such as 'this' in debug-evaluate-receiver-before-super) need to be explicitly converted to a string before the test works correctly. * Ensure that inspector stores the script before sending ScriptParsed and ScriptFailedToParse events in order to be able to use the script from within those events. * Better remote object reconstruction (e.g. for undefined and arrays). * New functionality in wrapper: * debuggerFlags().breakPointsActive.setValue() * scripts() * execState.setVariableValue() * execState.scopeObject().value() * execState.scopeObject().property() * execState.frame().allScopes() * eventData.exception() * eventData.script() * setBreakPointsActive() BUG=v8:5530 Review-Url: https://codereview.chromium.org/2497973002 Cr-Commit-Position: refs/heads/master@{#41019}
-
machenbach authored
Revert of [refactoring] Split CodeAssemblerState out of CodeAssembler (patchset #8 id:140001 of https://codereview.chromium.org/2498073002/ ) Reason for revert: https://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20shared doesn't want to compile. Missing export annotation? Original issue's description: > [refactoring] Split CodeAssemblerState out of CodeAssembler > > This is in preparation for introducing more specialized > CodeStubAssembler subclasses. The state object can be handed > around, while the Assembler instances are temporary-scoped. > > BUG=v8:5628 TBR=ishell@chromium.org,mstarzinger@chromium.org,jkummerow@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=v8:5628 Review-Url: https://codereview.chromium.org/2504913002 Cr-Commit-Position: refs/heads/master@{#41018}
-
bmeurer authored
When we have a known JSTypedArray instance at optimization time, i.e. as in asm.js-like use cases and also when there are global typed arrays that are tracked via global object property constant tracking, we can generate more efficient code in that case by specializing to the immutable internal fields of the JSTypedArray (and the JSArrayBuffer backing it). R=jarin@chromium.org BUG=v8:4470,v8:5267 Review-Url: https://codereview.chromium.org/2510553002 Cr-Commit-Position: refs/heads/master@{#41017}
-
bmeurer authored
When we don't have a base, and the displacement returned by the BaseWithIndexAndDisplacement64Matcher cannot be encoded as immediate, we can still try to utilize the scale factor matching by just using the displacement as base. This happens when we do indexed memory accesses to known addresses. R=jarin@chromium.org Review-Url: https://codereview.chromium.org/2504123002 Cr-Commit-Position: refs/heads/master@{#41016}
-
- 15 Nov, 2016 35 commits
-
-
jkummerow authored
This is in preparation for introducing more specialized CodeStubAssembler subclasses. The state object can be handed around, while the Assembler instances are temporary-scoped. BUG=v8:5628 Review-Url: https://codereview.chromium.org/2498073002 Cr-Commit-Position: refs/heads/master@{#41015}
-
jbroman authored
This was causing array buffer views created by ValueDeserializer to have uninitialized internal fields, which lead to crashes in layout tests when Blink tried to read those fields. For array buffers, JSArrayBuffer::Setup is responsible for this logic (as well as initializing the V8 fields); this is similar to that. The runtime already seems to correctly initialize these for script-created array buffer views as well, which is why this issue was not detected sooner. Review-Url: https://codereview.chromium.org/2498413002 Cr-Commit-Position: refs/heads/master@{#41014}
-
luoe authored
Inferred names are currently generated for FunctionLiterals but not generated for ClassLiterals. Without them, DevTools does not have enough information to make descriptive descriptions. E.g. var x = {y: class{}}; var a = new x.y(); console.log(a); This shows "Object{}" when it could be more descriptive "x.y {}" BUG=v8:5621 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Review-Url: https://codereview.chromium.org/2488193003 Cr-Commit-Position: refs/heads/master@{#41013}
-
domenic authored
This will allow V8 extra consumers to mark a promise as handled without adding redundant empty onRejected handlers. This is needed by streams as discussed in https://github.com/whatwg/streams/issues/547. BUG=chromium:654701 Review-Url: https://codereview.chromium.org/2498143002 Cr-Commit-Position: refs/heads/master@{#41012}
-
titzer authored
R=clemensh@chromium.org,dschuff@chromium.org BUG=v8:5632 LOG=Y Review-Url: https://codereview.chromium.org/2501873003 Cr-Commit-Position: refs/heads/master@{#41011}
-
cbruni authored
In case of an allocation failure in for-in over holey elements, use precise number of elements to allocate a smaller buffer for the collected indices. Drive-by-fix: make is_the_hole accept the isolate for faster checks. BUG=chromium:609761 Review-Url: https://codereview.chromium.org/2041963003 Cr-Commit-Position: refs/heads/master@{#41010}
-
jshin authored
ICU now supports uppercasing in Greek via its regular uppercasing API. So, there's no need to use a slow transliteration API for uppercasing in Greek. This CL includes rolling ICU to ICU 58.1. Besides, drop intl402/Intl/getCanonicalLocales/weird-cases from test262.status because it passes now with ICU 58.1. BUG=chromium:637001,v8:5012 Review-Url: https://codereview.chromium.org/2491333003 Cr-Commit-Position: refs/heads/master@{#41009}
-
mlippautz authored
Previously, we also used to treat the link as strong, when iterating a promoted JSFunction. BUG=chromium:651354 Review-Url: https://codereview.chromium.org/2506633002 Cr-Commit-Position: refs/heads/master@{#41008}
-
clemensh authored
This CL defines move semantics for String16, and fixes issues with the hash code not being set correctly on swap or copy. It also extends the interface by a few handy templates. All this functionality will be used for the wasm translations, where String16s are often concatenated and used as keys in hash tables. BUG=chromium:659715 R=yangguo@chromium.org, kozyatinskiy@chromium.org Review-Url: https://codereview.chromium.org/2493723003 Cr-Commit-Position: refs/heads/master@{#41007}
-
caitp authored
BUG=v8:5635 R=mlippautz@chromium.org, bmeurer@chromium.org Review-Url: https://codereview.chromium.org/2508433002 Cr-Commit-Position: refs/heads/master@{#41006}
-
verwaest authored
BUG=chromium:655129 Review-Url: https://codereview.chromium.org/2504673002 Cr-Commit-Position: refs/heads/master@{#41005}
-
clemensh authored
Before, we allocated one script per function per instance, and each script referenced the wasm instance and the function index. Now we only allocate one script per compiled wasm module, so the script also only references this WasmCompiledModule, which causes changes to many interfaces. Instead of fixing the disassemble API only used via debug.js, I decided to drop it for now. Some later CL will reintroduce it via DebugInterface. BUG=v8:5530,chromium:659715 R=yangguo@chromium.org, titzer@chromium.org CC=jgruber@chromium.org Review-Url: https://codereview.chromium.org/2493823003 Cr-Commit-Position: refs/heads/master@{#41004}
-
verwaest authored
BUG= Review-Url: https://codereview.chromium.org/2505453003 Cr-Commit-Position: refs/heads/master@{#41003}
-
cbruni authored
R=jkummerow@chromium.org BUG=chromium:665112 Review-Url: https://codereview.chromium.org/2501303002 Cr-Commit-Position: refs/heads/master@{#41002}
-
cbruni authored
BUG= Review-Url: https://codereview.chromium.org/2490643002 Cr-Commit-Position: refs/heads/master@{#41001}
-
jgruber authored
Implements upcoming changes to @@search according to https://github.com/tc39/ecma262/pull/627. This also adds SameValue to CodeStubAssembler and extracts a part of CSA::TruncateTaggedToFloat64. BUG=v8:5339 Review-Url: https://codereview.chromium.org/2438683005 Cr-Commit-Position: refs/heads/master@{#41000}
-
jbroman authored
It always throws an exception in the cases that it fails, so throwing another doesn't help things. BUG=chromium:664416 Review-Url: https://codereview.chromium.org/2495393002 Cr-Commit-Position: refs/heads/master@{#40999}
-
petermarshall authored
Avoid using the iterator for arrays with fast elements where the iterator has not been modified. Only deals with the case where there is a single spread argument. Improves the six-speed "spread" benchmark to 1.5x slower than baseline es5 implementation, compared to 19x slower previously. BUG=v8:5511 Review-Url: https://codereview.chromium.org/2465253011 Cr-Commit-Position: refs/heads/master@{#40998}
-
Miran.Karic authored
When generating snapshot on a machine with a different page size than the target machine, we can run into problems as the v8 page area size changes. This is because v8 has page guards which depend on os page size, so if the target has larger os page, v8 page area is smaller and may not fit the contents. The solution proposed here is adding a flag, v8_os_page_size, that would, if used, override local os page size and use the one specified during snapshot generation. BUG= Review-Url: https://codereview.chromium.org/2488403003 Cr-Commit-Position: refs/heads/master@{#40997}
-
leszeks authored
Since the liveness analysis's non-live value clearing rebuilds the state value trees, we don't need to be smart when creating state values in the initial graph building. This simplifies both the building and the iteration over the state values by the liveness analyzer. Review-Url: https://codereview.chromium.org/2495413003 Cr-Commit-Position: refs/heads/master@{#40996}
-
tebbi authored
R=bmeurer@chromium.org BUG=v8:5634 Review-Url: https://codereview.chromium.org/2500143003 Cr-Commit-Position: refs/heads/master@{#40995}
-
jarin authored
Reland of [turbofan] Fix deoptimization of boolean bit constants. (patchset #1 id:1 of https://codereview.chromium.org/2495243002) This reverts commit 1c9528c4. BUG=chromium:664490 Review-Url: https://codereview.chromium.org/2503763003 Cr-Commit-Position: refs/heads/master@{#40994}
-
mstarzinger authored
This reverses the printing scheme for the flag in question to make it print the "positive" analysis results (i.e. variable never assigned) instead of the "negative" results (i.e. variable maybe assigned). This helps to spot false-positives which are much more dangerous in practice compared to missed optimization opportunities. R=neis@chromium.org Review-Url: https://codereview.chromium.org/2498353002 Cr-Commit-Position: refs/heads/master@{#40993}
-
ivica.bogosavljevic authored
The patch optimizes the generation of code for kMips[64]Tst in code-generator-mips[64].cc. We allow usage of immediate for kMips[64]Tst in VisitWordCompare in order to remove an unnecessary immediate load to register. This fix is motivated by Richards benchark in Octane benchmark suite, since it is used a lot there. BUG= Review-Url: https://codereview.chromium.org/2503833002 Cr-Commit-Position: refs/heads/master@{#40992}
-
mlippautz authored
BUG=chromium:468240 NOTRY=true Review-Url: https://codereview.chromium.org/2498343002 Cr-Commit-Position: refs/heads/master@{#40991}
-
jarin authored
BUG=chromium:626986 Review-Url: https://codereview.chromium.org/2503863002 Cr-Commit-Position: refs/heads/master@{#40990}
-
yukishiino authored
Makes FunctionTemplate::HasInstance follow the hidden prototype chain for a global proxy object and return true if the global object passes the test. BUG= Review-Url: https://codereview.chromium.org/2500363002 Cr-Commit-Position: refs/heads/master@{#40989}
-
dusan.simicic authored
Currently, we are using the following sequence for load/store with large offset (offset > 16b): lui at, 0x1234 ori at, at, 0x5678 add at, s0, at lw a0, 0(at) This sequence can be optimized in the following way: lui at, 0x1234 add at, s0, at lw a0, 0x5678(at) BUG= Review-Url: https://codereview.chromium.org/2503493002 Cr-Commit-Position: refs/heads/master@{#40988}
-
dusan.simicic authored
Port 0322c20d Original commit message: When storing an immediate integer or floating point zero, use the zero register as the source value. This avoids the need to sometimes allocate a new register. BUG= Review-Url: https://codereview.chromium.org/2470133005 Cr-Commit-Position: refs/heads/master@{#40987}
-
ishell authored
This is to fix the performance regression by avoiding creation of a frame in LoadIC dispatcher caused by complicated logic of CSA::EmitLoadICProtoArrayCheck(). BUG=v8:5561, chromium:660795 Review-Url: https://codereview.chromium.org/2496333002 Cr-Commit-Position: refs/heads/master@{#40986}
-
georgia.kouveli authored
BUG= Review-Url: https://codereview.chromium.org/2503453002 Cr-Commit-Position: refs/heads/master@{#40985}
-
verwaest authored
This shares the pending_error_handler from the parser to the preparser, allowing the preparser to directly log errors to it. This removes LogMessage from the loggers. ParserLogger::LogMessage was already unused, so this also removes error info from the preparse data altogether. BUG= Review-Url: https://codereview.chromium.org/2502633002 Cr-Commit-Position: refs/heads/master@{#40984}
-
ishell authored
Extract CSA::HandleLoadICSmiHandlerCase() from CSA::HandleLoadICHandlerCase() and CSA::EmitLoadICProtoArrayCheck() from CSA::HandleLoadICProtoHandler(). This is a preliminary step for extracting LoadICProtoArrayCheck to a separate stub which is necesary to fix the preformance regression caused by proto array handlers support. BUG=v8:5561, chromium:660795 Review-Url: https://codereview.chromium.org/2498013002 Cr-Commit-Position: refs/heads/master@{#40983}
-
ivica.bogosavljevic authored
A small change that brings a lot of benefit since it is used in a lot of places. BUG= Review-Url: https://codereview.chromium.org/2477453005 Cr-Commit-Position: refs/heads/master@{#40982}
-
yangguo authored
R=peria@chromium.org, vogelheim@chromium.org BUG=chromium:617892 NOPRESUBMIT=true Review-Url: https://codereview.chromium.org/2495213003 Cr-Commit-Position: refs/heads/master@{#40981}
-