- 02 Nov, 2015 23 commits
-
-
yangguo authored
R=ishell@chromium.org Review URL: https://codereview.chromium.org/1421703004 Cr-Commit-Position: refs/heads/master@{#31722}
-
rmcilroy authored
The Interpreter uses the function_data slot in the shared function info, so can't be used to compile functions which use that field for other reasons, such as API functions or functions with builtin function ids. BUG=v8:4280 LOG=N Review URL: https://codereview.chromium.org/1427143002 Cr-Commit-Position: refs/heads/master@{#31721}
-
mbrandy authored
Port 4490ce85 Original commit message: Create proper initial map for original constructor (new.target) instead of doing prototype transition on the base constructor's initial map. This approach fixes in-object slack tracking for subclass instances. This CL also fixes subclassing from String. It also fixes typed array map smashing done during typed array initialization. R=ishell@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, dstence@us.ibm.com BUG=v8:3101, v8:3330, v8:4419 LOG=N Review URL: https://codereview.chromium.org/1425353002 Cr-Commit-Position: refs/heads/master@{#31720}
-
jochen authored
The calling context is the second top-most non-debugger context on the stack, but that's not necessarily the actually calling context, e.g., when a tail-call was used. BUG=chromium:541703 R=verwaest@chromium.org LOG=y Review URL: https://codereview.chromium.org/1431473003 Cr-Commit-Position: refs/heads/master@{#31719}
-
ahaas authored
The BufferedRawMachineAssemblerTester takes care of storing and loading parameters to and from memory for these test cases. By using the BufferedRawMachineAssemblerTester the test cases become more readible. R=titzer@chromium.org Review URL: https://codereview.chromium.org/1409013004 Cr-Commit-Position: refs/heads/master@{#31718}
-
bmeurer authored
This adds some initial support for keyed element access to fast, non-holey JSArray objects. Also renames PropertyAccessInfoFactory to AccessInfoFactory and PropertyAccessMode to AccessMode. R=jarin@chromium.org BUG=v8:4470 LOG=n Review URL: https://codereview.chromium.org/1418213010 Cr-Commit-Position: refs/heads/master@{#31717}
-
ssid authored
V8 zaps (writes 0xdeadbeef) over the mmapped regions when in debug mode. This causes more resident size than displayed in tracing. So, This CL adds an api to tell if zapping is done. BUG=546492 LOG=Y Review URL: https://codereview.chromium.org/1419523008 Cr-Commit-Position: refs/heads/master@{#31716}
-
mythria authored
Adds an optimization to not emit unnecessary jumps and dead code in If, For, While, and do-while statments. When the value of condition is known at compile time, the code is emitted only for the paths that can be taken. For example, when the condition is known to be true in an if statmenet only then block is generated. BUG=v8:4280 LOG=N Review URL: https://codereview.chromium.org/1414193006 Cr-Commit-Position: refs/heads/master@{#31715}
-
yangguo authored
R=jkummerow@chromium.org, mstarzinger@chromium.org Review URL: https://codereview.chromium.org/1406113007 Cr-Commit-Position: refs/heads/master@{#31714}
-
mstarzinger authored
This moves the optimization for variables loads targeting lookup slots in DYNAMIC_GLOBAL and DYNAMIC_LOCAL mode into the AstGraphBuilder. This way we implicitly get all optimizations that target global loads and context loads for free. R=bmeurer@chromium.org BUG=v8:4513 LOG=n Review URL: https://codereview.chromium.org/1424943008 Cr-Commit-Position: refs/heads/master@{#31713}
-
yangguo authored
R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/1425693006 Cr-Commit-Position: refs/heads/master@{#31712}
-
yangguo authored
R=verwaest@chromium.org Review URL: https://codereview.chromium.org/1424703005 Cr-Commit-Position: refs/heads/master@{#31711}
-
yangguo authored
R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/1425333002 Cr-Commit-Position: refs/heads/master@{#31710}
-
ishell authored
Revert of [es6] Fix Function and GeneratorFunction built-ins subclassing. (patchset #4 id:80001 of https://codereview.chromium.org/1428823002/ ) Reason for revert: Buildbot failures Original issue's description: > [es6] Fix Function and GeneratorFunction built-ins subclassing. > > BUG=v8:3101, v8:3330 > LOG=Y > > Committed: https://crrev.com/99e7f872d3d0a5fb799dcbafb05537cda491314a > Cr-Commit-Position: refs/heads/master@{#31708} TBR=verwaest@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=v8:3101, v8:3330 Review URL: https://codereview.chromium.org/1413723008 Cr-Commit-Position: refs/heads/master@{#31709}
-
ishell authored
BUG=v8:3101, v8:3330 LOG=Y Review URL: https://codereview.chromium.org/1428823002 Cr-Commit-Position: refs/heads/master@{#31708}
-
Michael Achenbach authored
Cr-Commit-Position: refs/heads/master@{#31707}
-
machenbach authored
This ports some code from chromium for using the bundled toolchain. BUG=chromium:548586 LOG=n Review URL: https://codereview.chromium.org/1237803003 Cr-Commit-Position: refs/heads/master@{#31706}
-
Michael Achenbach authored
Cr-Commit-Position: refs/heads/master@{#31705}
-
zhengxing.li authored
port 4490ce85 (r31701). original commit message: Original issue's description: > [es6] Better support for built-ins subclassing. > > Create proper initial map for original constructor (new.target) instead of doing prototype > transition on the base constructor's initial map. This approach fixes in-object slack tracking > for subclass instances. > This CL also fixes subclassing from String. > > BUG=v8:3101, v8:3330 > LOG=Y > > Committed: https://crrev.com/cd5f48302a502154a0106d12e3066bd563c6340c > Cr-Commit-Position: refs/heads/master@{#31680} It also fixes typed array map smashing done during typed array initialization. BUG= Review URL: https://codereview.chromium.org/1432483003 Cr-Commit-Position: refs/heads/master@{#31704}
-
bmeurer authored
The compiler can generate a named access for o[x] if x is a compile time constant that can be turned into a name using ToName (limited to primitive x values, because other ToName invocations might be observable), or the KeyedLoadIC/KeyedStoreIC have gather constant name feedback for x (i.e. the access always goes to the same symbol). R=jarin@chromium.org BUG=v8:4470 LOG=n Review URL: https://codereview.chromium.org/1414013004 Cr-Commit-Position: refs/heads/master@{#31703}
-
yangguo authored
R=littledan@chromium.org BUG=v8:4305, v8:4343, v8:4344, v8:4345 LOG=N Review URL: https://codereview.chromium.org/1408223004 Cr-Commit-Position: refs/heads/master@{#31702}
-
ishell authored
Original issue's description: > [es6] Better support for built-ins subclassing. > > Create proper initial map for original constructor (new.target) instead of doing prototype > transition on the base constructor's initial map. This approach fixes in-object slack tracking > for subclass instances. > This CL also fixes subclassing from String. > > BUG=v8:3101, v8:3330 > LOG=Y > > Committed: https://crrev.com/cd5f48302a502154a0106d12e3066bd563c6340c > Cr-Commit-Position: refs/heads/master@{#31680} It also fixes typed array map smashing done during typed array initialization. BUG=v8:3101, v8:3330, v8:4419 LOG=Y Review URL: https://codereview.chromium.org/1413033006 Cr-Commit-Position: refs/heads/master@{#31701}
-
bmeurer authored
Return undefined for missing properties (or throw an exception in strong mode). Also do a bit of code cleanup. R=jarin@chromium.org BUG=v8:4470 LOG=n Review URL: https://codereview.chromium.org/1427913003 Cr-Commit-Position: refs/heads/master@{#31700}
-
- 31 Oct, 2015 1 commit
-
-
v8-autoroll authored
Rolling v8/buildtools to c2f259809d5ede3275df5ea0842f0431990c4f98 TBR=machenbach@chromium.org,vogelheim@chromium.org,hablich@chromium.org Review URL: https://codereview.chromium.org/1406153016 Cr-Commit-Position: refs/heads/master@{#31699}
-
- 30 Oct, 2015 16 commits
-
-
ahaas authored
This utility makes it possible to test TF graphs that accept parameters of any machine type (even int64 and float64), which are previously problematic due to the complexity of C calling conventions. R=titzer@chromium.org Review URL: https://codereview.chromium.org/1423133005 Cr-Commit-Position: refs/heads/master@{#31698}
-
mythria authored
Adds an optimization to emit JumpIfToBooleanTrue/False instead of ToBoolean followed by JumpIfTrue/False if the value in the accumulator is not boolean. BUG=v8:4280 LOG=N Review URL: https://codereview.chromium.org/1426913002 Cr-Commit-Position: refs/heads/master@{#31697}
-
machenbach authored
BUG=chromium:535160 LOG=n Review URL: https://codereview.chromium.org/1421973007 Cr-Commit-Position: refs/heads/master@{#31696}
-
bmeurer authored
This introduces an AllocateMutableHeapNumberStub for the boxed double field case, where we need to allocate a box in case of a transitioning store first. We cannot use our inline allocations for this currently, because mutable HeapNumber objects have certain alignment constraints, and I don't want to mess up Allocate/AllocateInNewSpace eagerly. Also refactor the PropertyAccessInfoFactory slightly to split the long methods into simpler parts. R=jarin@chromium.org BUG=v8:4470 LOG=n Review URL: https://codereview.chromium.org/1419173007 Cr-Commit-Position: refs/heads/master@{#31695}
-
mstarzinger authored
This re-introduces the long lost concept of conditional builder methods into the AstGraphBuilder that are allowed to return {nullptr} when a certain optimization does not apply. This can be used to separate our optimizations in the graph builder clearly from code required for correctness. R=bmeurer@chromium.org BUG=v8:4513 LOG=n Review URL: https://codereview.chromium.org/1414723004 Cr-Commit-Position: refs/heads/master@{#31694}
-
mstarzinger authored
This makes FullCodeGenerator::VisitCall be independent of the target architecture. Only the EmitPossiblyEvalCall case was dependent and is hoisted into an emitter method. R=rossberg@chromium.org Review URL: https://codereview.chromium.org/1428953002 Cr-Commit-Position: refs/heads/master@{#31693}
-
bmeurer authored
Also changed the way that transitioning stores are represented in a PropertyAccessInfo: There's no dedicated kind, but DataFields have an optional transition map. R=jarin@chromium.org BUG=v8:4470 LOG=n Review URL: https://codereview.chromium.org/1416973014 Cr-Commit-Position: refs/heads/master@{#31692}
-
milton.chiang authored
BUG=chrome-os-partner:36669 R=jochen@chromium.org LOG=N Signed-off-by: Milton Chiang <milton.chiange@mediatek.com> Review URL: https://codereview.chromium.org/1223613003 Cr-Commit-Position: refs/heads/master@{#31691}
-
baptiste.afsa authored
R=danno@chromium.org Review URL: https://codereview.chromium.org/1427003006 Cr-Commit-Position: refs/heads/master@{#31690}
-
bmeurer authored
If the CallIC collected a known target function for a callsite, add a runtime check to ensure that the feedback remains the same and specialize the JSCallFunction node to the known target function so that inlining and typed lowering can pick up the feedback. R=mstarzinger@chromium.org BUG=v8:4470, v8:4493 LOG=n Review URL: https://codereview.chromium.org/1428923002 Cr-Commit-Position: refs/heads/master@{#31689}
-
rmcilroy authored
Removes deprecated functions from the following files: test/cctest/interpreter/test-bytecode-generator.cc test/cctest/interpreter/test-interpreter.cc BUG=v8:4134 LOG=N Review URL: https://codereview.chromium.org/1421223005 Cr-Commit-Position: refs/heads/master@{#31688}
-
rmcilroy authored
Adds support for switch statments to the interpreter. BUG=v8:4280 LOG=N Review URL: https://codereview.chromium.org/1415093006 Cr-Commit-Position: refs/heads/master@{#31687}
-
bmeurer authored
R=yangguo@chromium.org BUG=v8:4470 LOG=n Review URL: https://codereview.chromium.org/1427583008 Cr-Commit-Position: refs/heads/master@{#31686}
-
neis authored
Proxies are not properly supported yet. R=rossberg BUG=v8:3931 LOG=n Review URL: https://codereview.chromium.org/1415883007 Cr-Commit-Position: refs/heads/master@{#31685}
-
bmeurer authored
Revert of [es6] Better support for built-ins subclassing. (patchset #8 id:200001 of https://codereview.chromium.org/1427483002/ ) Reason for revert: Breaks test on win32 nosnap.http://build.chromium.org/p/client.v8/builders/V8%20Win32%20-%20nosnap%20-%20shared/builds/9680 Original issue's description: > [es6] Better support for built-ins subclassing. > > Create proper initial map for original constructor (new.target) instead of doing prototype transition on the base constructor's initial map. This approach fixes in-object slack tracking for subclass instances. > This CL also fixes subclassing from String. > > BUG=v8:3101, v8:3330 > LOG=Y > > Committed: https://crrev.com/cd5f48302a502154a0106d12e3066bd563c6340c > Cr-Commit-Position: refs/heads/master@{#31680} TBR=verwaest@chromium.org,ulan@chromium.org,ishell@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=v8:3101, v8:3330 Review URL: https://codereview.chromium.org/1416943005 Cr-Commit-Position: refs/heads/master@{#31684}
-
rmcilroy authored
Adds wide bytecode varients, which take 16-bit feedback slot and constant pool entry indexes for the following bytecodes: - LoadICSloppyWide - LoadICStrictWide - KeyedLoadICSloppyWide - KeyedLoadICStrictWide - StoreICSloppyWide - StoreICStrictWide - KeyedStoreICSloppyWide - KeyedStoreICStrictWide - LdaGlobalSloppyWide - LdaGlobalStrictWide - StaGlobalSloppyWide - StaGlobalStrictWide - LdaConstantWide BUG=v8:4280 LOG=N Review URL: https://codereview.chromium.org/1413863010 Cr-Commit-Position: refs/heads/master@{#31683}
-