- 27 Jun, 2016 2 commits
-
-
zhengxing.li authored
port e95cfafb (r36917) original commit message: This fixes FastNewStrictArgumentsStub and FastNewRestParameterStub to no longer assume that the strict arguments object being allocated will fit into new-space. The case where said object needs to move to large object space is now handled in the runtime. BUG= Review-Url: https://codereview.chromium.org/2100003002 Cr-Commit-Position: refs/heads/master@{#37263}
-
zhengxing.li authored
port 89d8c57b (r36916) original commit message: Import base::ieee754::atan() and base::ieee754::atan2() from fdlibm and introduce Float64Atan and Float64Atan2 TurboFan operators based on those, similar to what we already did for Float64Log and Float64Log1p. Rewrite Math.atan() and Math.atan2() as TurboFan builtin and use the operators to also inline Math.atan() and Math.atan2() into optimized TurboFan functions. BUG= Review-Url: https://codereview.chromium.org/2093423003 Cr-Commit-Position: refs/heads/master@{#37262}
-
- 25 Jun, 2016 2 commits
-
-
v8-autoroll authored
Rolling v8/build to e6d755246d1db2bc122ff2bfbc2b741b43d4afb7 Rolling v8/tools/mb to 3bf9b2fd6fb3127fc9b29d30cc4ff82eb025b7f6 TBR=machenbach@chromium.org,vogelheim@chromium.org,hablich@chromium.org Review-Url: https://codereview.chromium.org/2088393007 Cr-Commit-Position: refs/heads/master@{#37261}
-
caitpotter88 authored
BUG=v8:4483, v8:5148 R=littledan@chromium.org, adamk@chromium.org, jwolfe@igalia.com, nikolaos@chromium.org Review-Url: https://codereview.chromium.org/2091313002 Cr-Commit-Position: refs/heads/master@{#37260}
-
- 24 Jun, 2016 27 commits
-
-
bakkot authored
We deviate from spec in that, in our implementation, __defineGetter__ on non- configurable properties returns false instead of throwing a TypeError. This commit adds a use counter to track how often we would be throwing an error we currently avoid, to determine if we can change to align with spec or if the spec is not implementable. BUG=v8:5070 Review-Url: https://codereview.chromium.org/2089533002 Cr-Commit-Position: refs/heads/master@{#37259}
-
tandrii authored
Don't assume bucket name to start with 'master.'. NOTRY=True BUG=chromium:617627 R=machenbach@chromium.org Review-Url: https://codereview.chromium.org/2093993002 Cr-Commit-Position: refs/heads/master@{#37258}
-
bakkot authored
https://crrev.com/d3a95b8a78eefabf884a60bc3d6aac5830b44eb3 The removed tests are a mix of renamed files and tests which have been removed after the spec was relaxed. Also marks one test as a test262 failure rather than our failure. Review-Url: https://codereview.chromium.org/2098833002 Cr-Commit-Position: refs/heads/master@{#37257}
-
jyan authored
The hash field is supposed to be 4 bytes even in 64-bit. But the default parameter of StoreObjectFieldNoWriteBarrier using kTagged will generate 64-bit store. Fix by Replacing kTagged with kWord32. This causes ~200 test failures on big-endian, because hash field offset in BE is 12 instead of 8 in LE platforms. R=bmeurer@chromium.org, epertoso@chromium.org, joransiu@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com, bjaideep@ca.ibm.com BUG= Review-Url: https://codereview.chromium.org/2095003003 Cr-Commit-Position: refs/heads/master@{#37256}
-
zhengxing.li authored
port 7ceed92a (r36914) original commit message: Import base::ieee754::log1p() from fdlibm and introduce a Float64Log1p TurboFan operator based on that, similar to what we do for Float64Log. Rewrite Math.log1p() as TurboFan builtin and use that operator to also inline Math.log1p() into optimized TurboFan functions. Also unify the handling of the special IEEE 754 functions somewhat in the TurboFan backends. At some point we can hopefully express this completely in the InstructionSelector (once we have an idea what to do with the ST(0) return issue on IA-32/X87). BUG= Drive-by-fix: Add some more test coverage for the log function. Review-Url: https://codereview.chromium.org/2094953002 Cr-Commit-Position: refs/heads/master@{#37255}
-
verwaest authored
BUG=chromium:622664 Review-Url: https://codereview.chromium.org/2092943003 Cr-Commit-Position: refs/heads/master@{#37254}
-
ishell authored
This simplifies the calling convention of LoadGlobalIC. Currently we do a linear search to get the name but I'll address this in a follow-up CL. BUG=chromium:576312 TBR=rossberg@chromium.org Review-Url: https://codereview.chromium.org/2084913006 Cr-Commit-Position: refs/heads/master@{#37253}
-
verwaest authored
BUG= Review-Url: https://codereview.chromium.org/2095673002 Cr-Commit-Position: refs/heads/master@{#37252}
-
bbudge authored
- Adds the concept of FP register aliasing to RegisterConfiguration. - Changes RegisterAllocator to distinguish between FP representations when allocating. - Changes LinearScanAllocator to detect interference when FP register aliasing is combining, as on ARM. - Changes ARM code generation to allow all registers s0 - s31 to be accessed. - Adds unit tests for RegisterConfiguration, mostly to test aliasing calculations. LOG=N BUG=v8:4124 Review-Url: https://codereview.chromium.org/2086653003 Cr-Commit-Position: refs/heads/master@{#37251}
-
machenbach authored
Revert of Use instance type in Object::IsErrorObject(). (patchset #9 id:160001 of https://codereview.chromium.org/2090333002/ ) Reason for revert: [Sheriff] Breaks layout tests: https://build.chromium.org/p/client.v8.fyi/builders/V8-Blink%20Linux%2064/builds/7700 Please rebase upstream first if intended. Original issue's description: > Use JS_ERROR_TYPE to check for error objects. > > Replace explicit Object::IsErrorObject() with macro generated functions Object::IsJSError() and HeapObject::IsJSError(). > > BUG= > > Committed: https://crrev.com/90e4fd136387ca7271d8ea87f4fc667e4f55063b > Cr-Commit-Position: refs/heads/master@{#37244} TBR=verwaest@chromium.org,jochen@chromium.org,franzih@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG= Review-Url: https://codereview.chromium.org/2092083002 Cr-Commit-Position: refs/heads/master@{#37250}
-
machenbach authored
BUG=chromium:616035 NOTRY=true Review-Url: https://codereview.chromium.org/2081263003 Cr-Commit-Position: refs/heads/master@{#37249}
-
machenbach authored
BUG=chromium:616035 NOTRY=true Review-Url: https://codereview.chromium.org/2082283002 Cr-Commit-Position: refs/heads/master@{#37248}
-
rmcilroy authored
Maintain the parent frame pointer in a variable after loading it to avoid having to reload it each time it is required. BUG=v8:4280 Review-Url: https://codereview.chromium.org/2085353005 Cr-Commit-Position: refs/heads/master@{#37247}
-
machenbach authored
BUG=chromium:616035 NOTRY=true Review-Url: https://codereview.chromium.org/2083153003 Cr-Commit-Position: refs/heads/master@{#37246}
-
zhengxing.li authored
port 8c1ba59a (r36911) original commit message: RelocInfo modes were not propagated when computing MemoryOperands, on IA32. This needed to be fixed so that we can compile wasm code before creating instances, since the compiled code needs to be patched up for memory and globals references. This surfaces in asm-to-wasm scenarios. Added testing (rather, enhanced existing tests). Note patch#1 where we fail on ia32, and patch#2 with the fix. BUG= Review-Url: https://codereview.chromium.org/2097583003 Cr-Commit-Position: refs/heads/master@{#37245}
-
franzih authored
Replace explicit Object::IsErrorObject() with macro generated functions Object::IsJSError() and HeapObject::IsJSError(). BUG= Review-Url: https://codereview.chromium.org/2090333002 Cr-Commit-Position: refs/heads/master@{#37244}
-
zhengxing.li authored
port c8ac0d86(r36888) original commit message: Instead, always tail call to the runtime. Also, cleanup the various versions of the runtime call that is used for Array construction fallback. There can be only one. BUG= Review-Url: https://codereview.chromium.org/2080223009 Cr-Commit-Position: refs/heads/master@{#37243}
-
zhengxing.li authored
port d0c7775d(r36880) original commit message: This switches Math.log to use an fdlibm based version of log, imported as base::ieee754::log, and use that consistently everywhere, i.e. change the Float64Log TurboFan operators on Intel to use the C++ implementation as well (same for Crankshaft). BUG= Review-Url: https://codereview.chromium.org/2081653005 Cr-Commit-Position: refs/heads/master@{#37242}
-
balazs.kilvady authored
Port fc59eb8a Original commit message: Moves between operands with different representations shouldn't happen, so don't test them. This makes it easier to modify canonicalization to differentiate between floating point types, which is needed to support floating point register aliasing for ARM and MIPS. This change also expands tests to include explicit FP moves (both register and stack slot). LOG=N BUG=v8:4124 BUG=chromium:622619 Review-Url: https://codereview.chromium.org/2090993002 Cr-Commit-Position: refs/heads/master@{#37241}
-
ahaas authored
Signature indices are encoded as SMIs in the function table of a wasm module. To compare a signature index with the index parameter that is passed to an indirect function call, we now change the signature index to an int32 instead of encoding the index parameter as a SmiConstant. SmiConstants get encoded as NumberConstant nodes in the TF graph, which can cause the allocation of heap numbers. Heap allocation has to be avoided for parallel compilation. R=bradnelson@chromium.org, titzer@chromium.org Review-Url: https://codereview.chromium.org/2090923002 Cr-Commit-Position: refs/heads/master@{#37240}
-
machenbach authored
Skip unicodelctest and friends for some turbo and turbo + ignition variants. TBR=Benedikt Meurer, rmcilroy NOTRY=true NOTREECHECKS=true Review-Url: https://codereview.chromium.org/2095873002 Cr-Commit-Position: refs/heads/master@{#37239}
-
v8-autoroll authored
Rolling v8/build to eef98eaf4956bbe8d24e5172acd1ffb44d0089a5 Rolling v8/tools/clang to cff206a88b16f784285391dcc4c444206f967024 Rolling v8/tools/mb to 8687d262d22fb2907b3be774c2643f27200aec62 TBR=machenbach@chromium.org,vogelheim@chromium.org,hablich@chromium.org Review-Url: https://codereview.chromium.org/2099593002 Cr-Commit-Position: refs/heads/master@{#37238}
-
yangguo authored
We have a lot of long-encoded root list items in type feedback vectors. Review-Url: https://codereview.chromium.org/2090563002 Cr-Commit-Position: refs/heads/master@{#37237}
-
machenbach authored
Revert of Amends the TypedArray constructor to use the path for primitives for all (patchset #3 id:40001 of https://codereview.chromium.org/2096873002/ ) Reason for revert: [Sheriff] Breaks layout tests. Please rebase upstream if intended: https://build.chromium.org/p/client.v8.fyi/builders/V8-Blink%20Linux%2064/builds/7691 Original issue's description: > Amends the TypedArray constructor to use the path for primitives for all > types of primitives, not just undefined, booleans, numbers, and strings. > (The missing cases were null and Symbol.) This is required by the > specification, and there are test262 tests which we were failing due to > this bug. > > BUG=v8:5124 > > Committed: https://crrev.com/f788bd9cce19815cba746e47bb65abfe25c16208 > Cr-Commit-Position: refs/heads/master@{#37234} TBR=littledan@chromium.org,bakkot@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=v8:5124 Review-Url: https://codereview.chromium.org/2091693004 Cr-Commit-Position: refs/heads/master@{#37236}
-
adamk authored
Flags removed (all begin with "harmony-"): function-name instanceof iterator-close unicode-regexps regexp-exec regexp-subclass species BUG=v8:3566, v8:3648, v8:3699, v8:4093, v8:4447, v8:4602 Review-Url: https://codereview.chromium.org/2096933002 Cr-Commit-Position: refs/heads/master@{#37235}
-
bakkot authored
types of primitives, not just undefined, booleans, numbers, and strings. (The missing cases were null and Symbol.) This is required by the specification, and there are test262 tests which we were failing due to this bug. BUG=v8:5124 Review-Url: https://codereview.chromium.org/2096873002 Cr-Commit-Position: refs/heads/master@{#37234}
-
ritesht authored
Merge branch 'master' of https://chromium.googlesource.com/v7/v8 into unused_variables Removed unused variables "length" from the signature "consume_u32v". The variable length (passed in as a parameter) is not read from the function, rather it set based on the pc_ offset. However, the value set is also not used in the main line of control flow during decoding. This seems to be some dead code. BUG= Review-Url: https://codereview.chromium.org/2093823003 Cr-Commit-Position: refs/heads/master@{#37233}
-
- 23 Jun, 2016 9 commits
-
-
bakkot authored
TypedArrays store their true length in an internal slot. This is normally reflected in the .length property, but that property is configurable. Algorithms which need the length of a typed array are to use the internal slot, not the property; TypedArray.prototype.set was not doing this. BUG=v8:5133 Review-Url: https://codereview.chromium.org/2091153002 Cr-Commit-Position: refs/heads/master@{#37232}
-
mtrofin authored
BUG= Review-Url: https://codereview.chromium.org/2096673002 Cr-Commit-Position: refs/heads/master@{#37231}
-
ritesht authored
Cleaning up the code to replace all instances of "i++" in for loops with the more efficient "++i". The latter foregoes an extra intermediate variable. BUG=v8:5044 Review-Url: https://codereview.chromium.org/2094573002 Cr-Commit-Position: refs/heads/master@{#37230}
-
adamk authored
It appears to have been dropped accidentally as part of 1150092b's removal of strong mode for binary ops. Review-Url: https://codereview.chromium.org/2092493002 Cr-Commit-Position: refs/heads/master@{#37229}
-
adamk authored
While we properly handled scopes of initializers in destructured parameters, we never did the right thing for computed properties. This patch fixes that by factoring out PatternRewriter's scope rewriting logic and calls it for the computed property case. BUG=chromium:620119 Review-Url: https://codereview.chromium.org/2084103002 Cr-Commit-Position: refs/heads/master@{#37228}
-
https://codereview.chromium.org/2094613004/littledan authored
Reason for revert: Reland fixing msan and tsan Original issue's description: > Revert of Test262 roll (patchset #15 id:280001 of https://codereview.chromium.org/2068263002/ ) > > Reason for revert: > Broke msan and tsan; need to add an extra skip > > Original issue's description: > > Test262 roll > > > > This roll does not include a test harness change; infrastructure issues > > still need to be worked out. > > > > Committed: https://crrev.com/d3a95b8a78eefabf884a60bc3d6aac5830b44eb3 > > Cr-Commit-Position: refs/heads/master@{#37225} > > TBR=adamk@chromium.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > > Committed: https://crrev.com/8ea2cbea2e65dc506d50a25a81e610f37bc751ec > Cr-Commit-Position: refs/heads/master@{#37226} TBR=adamk@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review-Url: https://codereview.chromium.org/2097573003 Cr-Commit-Position: refs/heads/master@{#37227}
-
https://codereview.chromium.org/2068263002/littledan authored
Reason for revert: Broke msan and tsan; need to add an extra skip Original issue's description: > Test262 roll > > This roll does not include a test harness change; infrastructure issues > still need to be worked out. > > Committed: https://crrev.com/d3a95b8a78eefabf884a60bc3d6aac5830b44eb3 > Cr-Commit-Position: refs/heads/master@{#37225} TBR=adamk@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review-Url: https://codereview.chromium.org/2094613004 Cr-Commit-Position: refs/heads/master@{#37226}
-
littledan authored
This roll does not include a test harness change; infrastructure issues still need to be worked out. Review-Url: https://codereview.chromium.org/2068263002 Cr-Commit-Position: refs/heads/master@{#37225}
-
ssanfilippo authored
Since [1], Logger does not dispatch anymore to the other loggers. This is now the task of the CodeEventDispatcher, and Logger is just a client. One use of the Logger as dispatcher wasn't caught in the refactoring, which caused the entries for bytecode handlers loaded from the snapshot to be missing from the symbols mapping written by PerfBasicLogger. [1] https://crrev.com/9df23510eaa12eb5c298cf68a92e90c6e992855c BUG=v8:4899 LOG=N Review-Url: https://codereview.chromium.org/2085143003 Cr-Commit-Position: refs/heads/master@{#37224}
-