- 20 Nov, 2015 22 commits
-
-
machenbach authored
This will allow callers (e.g. the infra recipe) to check which steps have been executed and monitor success/failure. BUG=chromium:559141 LOG=n NOTRY=true Review URL: https://codereview.chromium.org/1463143004 Cr-Commit-Position: refs/heads/master@{#32150}
-
dusan.m.milosavljevic authored
TEST=unittests/InstructionSelectorTest.Word32XorMinusOneWithWord32Or, Word64XorMinusOneWithWord64Or BUG= Review URL: https://codereview.chromium.org/1459723002 Cr-Commit-Position: refs/heads/master@{#32149}
-
ishell authored
Original issue's description: > Prepare to enable in-object properties in subclasses on a case by case basis. > > Minor cleanup in VisitorId selection. > > Committed: https://crrev.com/7c449a62edfc03aed84d94da323dcfe2b51a3600 > Cr-Commit-Position: refs/heads/master@{#32030} This is a mostly clean reland. Review URL: https://codereview.chromium.org/1459133002 Cr-Commit-Position: refs/heads/master@{#32148}
-
akos.palfi authored
Port f6e689ce BUG= Review URL: https://codereview.chromium.org/1463193002 Cr-Commit-Position: refs/heads/master@{#32147}
-
jochen authored
BUG=4134 R=epertoso@chromium.org LOG=n Review URL: https://codereview.chromium.org/1458003006 Cr-Commit-Position: refs/heads/master@{#32146}
-
bmeurer authored
Introduce a JSCreateArray operator that represents the Array constructor, and lower call and construct calls to the Array constructor to JSCreateArray. Currently we don't yet replace that with an inline allocation, but always use the specialized stubs for the Array constructor. This saves a lot of unnecessary deopts and elements transitions because now we can actually consume the allocation site feedback for the transitions. R=mstarzinger@chromium.org BUG=v8:4470 LOG=n Review URL: https://codereview.chromium.org/1466643002 Cr-Commit-Position: refs/heads/master@{#32145}
-
ishell authored
The old code was not ready for properly initialize objects with non standard headers and non zero in-object properties number. MacroAssembler::Allocate() implementations now return both start and end addresses of the new object (done by parameter renaming). Review URL: https://codereview.chromium.org/1459083003 Cr-Commit-Position: refs/heads/master@{#32144}
-
verwaest authored
BUG= Review URL: https://codereview.chromium.org/1463083004 Cr-Commit-Position: refs/heads/master@{#32143}
-
pan.deng authored
BUG=v8:4555 LOG=N Review URL: https://codereview.chromium.org/1462833002 Cr-Commit-Position: refs/heads/master@{#32142}
-
oth authored
This change introduces register re-mapping to avoid assignment hazards in binary expressions. Expressions that cause problems typically have the form y = x + (x = 4);. The problem occurs because the lhs value evaluates to the register holding x. The rhs updates that register and then applying the operation would use the new value as the lhs. By tracking loads and stores in binary expressions the generator is now able to detect when condition occurs and uses a temporary register for the rhs value. When the binary expression evaluation is complete the variable is updated with the latest temporary. A new bytecode Mov performs this update without touching the accumulator. BUG=v8:4280 LOG=N Review URL: https://codereview.chromium.org/1412683011 Cr-Commit-Position: refs/heads/master@{#32141}
-
sigurds authored
Argument allocation in typed lowering was producing dangling effect chains. This patch fixes three sources of dangling effect chains. BUG= Review URL: https://codereview.chromium.org/1447323005 Cr-Commit-Position: refs/heads/master@{#32140}
-
ahaas authored
R=titzer@chromium.org Review URL: https://codereview.chromium.org/1458423002 Cr-Commit-Position: refs/heads/master@{#32139}
-
akos.palfi authored
Don't generate FP64 mode specific instructions in FP32 mode. TEST=cctest/test-disasm-mips/Type1, cctest/test-disasm-mips/CVT_DISSASM BUG= Review URL: https://codereview.chromium.org/1462803003 Cr-Commit-Position: refs/heads/master@{#32138}
-
jochen authored
BUG=4134 R=epertoso@chromium.org LOG=n Review URL: https://codereview.chromium.org/1460193002 Cr-Commit-Position: refs/heads/master@{#32137}
-
oth authored
Adds support for the New, CallRuntime and CallJSRuntime bytecodes in BytecodeGraphBuilder. Also adds BuildLoadObjectField, BuildLoadGlobalObject and BuildLoadNativeContextField helpers. Landed on behalf of rmcilroy. BUG=v8:4280 LOG=N Review URL: https://codereview.chromium.org/1456483002 Cr-Commit-Position: refs/heads/master@{#32136}
-
Michael Achenbach authored
Cr-Commit-Position: refs/heads/master@{#32135}
-
yangguo authored
If Math.random is called when creating the snapshot, we need seeds to work with. Those seeds are going to be overwritten after deserializing from the snapshot. NOTRY=true NOTREECHECKS=true TBR=bmeurer@chromium.org Review URL: https://codereview.chromium.org/1458003005 Cr-Commit-Position: refs/heads/master@{#32134}
-
machenbach authored
BUG=chromium:534332 LOG=n TBR=jochen@chromium.org NOTREECHECKS=true Review URL: https://codereview.chromium.org/1464583004 Cr-Commit-Position: refs/heads/master@{#32133}
-
yangguo authored
R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/1462293002 Cr-Commit-Position: refs/heads/master@{#32132}
-
bmeurer authored
This adds a new %NewArray runtime entry, which constructs a new JSArray and does the subclassing correctly (to the same degree that %NewObject does currently), and also deals properly with the AllocationSite feedback mechanism. This runtime entry will be used by TurboFan and is also used as a fallback in the subclassing case in the stub currently. BUG=v8:3101, v8:3330 LOG=n Review URL: https://codereview.chromium.org/1456423003 Cr-Commit-Position: refs/heads/master@{#32131}
-
v8-autoroll authored
Rolling v8/tools/swarming_client to 05e17879accce360bee999cd9ec891d761056bc2 TBR=machenbach@chromium.org,vogelheim@chromium.org,hablich@chromium.org Review URL: https://codereview.chromium.org/1460103003 Cr-Commit-Position: refs/heads/master@{#32130}
-
zhengxing.li authored
port 469d9bfa (r32120) original commit message: BUG= Review URL: https://codereview.chromium.org/1459843004 Cr-Commit-Position: refs/heads/master@{#32129}
-
- 19 Nov, 2015 18 commits
-
-
mbrandy authored
Port 469d9bfa R=verwaest@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com BUG= Review URL: https://codereview.chromium.org/1465643002 Cr-Commit-Position: refs/heads/master@{#32128}
-
ahaas authored
The TruncateFloat64ToUint64 operator converts a float64 to an uint64 using round-to-zero rounding mode (truncate). If the input value is outside uint64 range, then the result depends on the architecture. I provide an implementation for x64 and arm64. @v8-ppc-ports and @v8-mips-ports, can you do the implementations for ppc64 and mips64? R=titzer@chromium.org Review URL: https://codereview.chromium.org/1457373002 Cr-Commit-Position: refs/heads/master@{#32127}
-
mstarzinger authored
This removes some dead code from the function invocation code when the arguments adaptor trampoline is called. This seems to be leftover code from when we used to support calling code objects directly. R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/1455293004 Cr-Commit-Position: refs/heads/master@{#32126}
-
mstarzinger authored
This changes all direct function calls in Crankshaft to pass undefined via the register expected to hold the new.target value. Note that the register is still ignored by all callees for now. This is a preparatory CL to allows us passing new.target in a register instead of via a side-channel through the construct stub frame. R=bmeurer@chromium.org BUG=v8:4544 LOG=n Review URL: https://codereview.chromium.org/1459183002 Cr-Commit-Position: refs/heads/master@{#32125}
-
kozyatinskiy authored
Following logic is using for getting function name in JSFunction::GetDebugName: 1. if function has displayName and its type is string then use it 2. if function has defined property Function.name as value and its type string then use it 3. otherwise use SharedFunctionInfo::DebugName as functionName. JSFunction::GetDebugName is exposed in V8 API and in FunctionMirror interface. BUG=chromium:17356 R=yangguo@chromium.org,mstarzinger@chromium.org LOG=Y Review URL: https://codereview.chromium.org/1449473005 Cr-Commit-Position: refs/heads/master@{#32124}
-
mvstanton authored
This simplifies follow-on changes to the FastNewClosureStub. BUG= Review URL: https://codereview.chromium.org/1433923002 Cr-Commit-Position: refs/heads/master@{#32123}
-
mstarzinger authored
TBR=verwaest@chromium.org NOTREECHECKS=true Review URL: https://codereview.chromium.org/1459253002 Cr-Commit-Position: refs/heads/master@{#32122}
-
ivica.bogosavljevic authored
Fixing failures in cctest/test-assembler-mips/CVT on Mips32R2 without FP64 support BUG= Review URL: https://codereview.chromium.org/1459763003 Cr-Commit-Position: refs/heads/master@{#32121}
-
verwaest authored
BUG= Review URL: https://codereview.chromium.org/1448933002 Cr-Commit-Position: refs/heads/master@{#32120}
-
hpayer authored
This CL should be reverted after investigating the size chrasher. BUG=chromium:556912 LOG=n Review URL: https://codereview.chromium.org/1455273003 Cr-Commit-Position: refs/heads/master@{#32119}
-
mlippautz authored
Since {CancelAndWait} blocks on the tasks that are still present in the internal hashmap, we are not allowed to remove the task upon trying to cancel it using {TryAbort}. The previous implementation suffered from a bug where: 1) The task was created and handed over to the platform. 2) The task was started by the platform, setting it to running state. 3) We called {TryAbort}, effectively removing it from the manager, but failing to cancel (as it was already running) 4) All tasks finished running, indicating this with their own semaphore. 5) The platform was stuck (scheduling) before destroying the task. 6) Main thread finished its work, waiting for all the necessary tasks, and the isolate terminated. 7) The platform destroyed the task, calling the destructor, calling into an already freed isolate. BUG=chromium:524425 LOG=N Review URL: https://codereview.chromium.org/1460763004 Cr-Commit-Position: refs/heads/master@{#32118}
-
mstarzinger authored
This changes the interface descriptor for the arguments adaptor to also contain an explicit register for the new.target value. Note that the stub still clobbers the register for now. This is a preparatory CL to allows us passing new.target in a register instead of via a side-channel through the construct stub frame. R=bmeurer@chromium.org BUG=v8:4544 LOG=n Review URL: https://codereview.chromium.org/1457313002 Cr-Commit-Position: refs/heads/master@{#32117}
-
mythria authored
bytecode graph builder Adds implementation and tests for KeyedLoadIC, KeyedStoreIC and StoreIC to bytecode graph builder. BUG=v8:4280 LOG=N Review URL: https://codereview.chromium.org/1448913002 Cr-Commit-Position: refs/heads/master@{#32116}
-
yangguo authored
R=jochen@chromium.org Review URL: https://codereview.chromium.org/1459783005 Cr-Commit-Position: refs/heads/master@{#32115}
-
machenbach authored
BUG=chromium:535160 LOG=n Review URL: https://codereview.chromium.org/1440593002 Cr-Commit-Position: refs/heads/master@{#32114}
-
jarin authored
Review URL: https://codereview.chromium.org/1461963002 Cr-Commit-Position: refs/heads/master@{#32113}
-
mstarzinger authored
This adds an explicit parameter to the call descriptor having kind kJSCallFunction representing the new.target value. Note that for now this parameter is not yet passed in and hence cannot be used yet. Also contains some refactoring of how parameter index value are calculated, establishing Linkage as the central point for such index computations. This is a preparatory CL to allows us passing new.target in a register instead of via a side-channel through the construct stub frame. R=bmeurer@chromium.org BUG=v8:4544 LOG=n Review URL: https://codereview.chromium.org/1461973002 Cr-Commit-Position: refs/heads/master@{#32112}
-
jacob.bramley authored
A64 loads and stores can have much larger positive than negative immediate offsets, and since most frame slots are below fp, we can significantly improve accesses by basing them on sp instead. Typical example: Before After mov x16, #-416 str x20, [fp, x16] str x20, [jssp, #32] Notable benchmark results include lua_binarytrees, which improves by about 7.5% on A57 and 5% on A53. Several other asm.js benchmarks gain 2-4%. Review URL: https://codereview.chromium.org/1376173003 Cr-Commit-Position: refs/heads/master@{#32111}
-