rmcilroy@chromium.org
96b18590fd
Enable physical memory argument to be passed as an argument to ConfigureResourceConstraintsForPlatform.
...
BUG=312241
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/68203003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17696 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-13 14:05:06 +00:00
ulan@chromium.org
f621f50fb2
Fix shared library build after r17692.
...
BUG=
R=jkummerow@chromium.org
Review URL: https://chromiumcodereview.appspot.com/70663003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17693 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-13 12:59:49 +00:00
ulan@chromium.org
81761f9dc6
Add lexer-shell for running lexer benchmarks.
...
R=jkummerow@chromium.org
Review URL: https://chromiumcodereview.appspot.com/70263003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17692 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-13 12:26:09 +00:00
machenbach@chromium.org
f903c0fc9a
Prepare push to trunk. Now working on version 3.23.4.
...
R=jkummerow@chromium.org
BUG=
Review URL: https://codereview.chromium.org/71443002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17689 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-13 12:19:42 +00:00
rossberg@chromium.org
67edfbaef8
Fix warnings
...
R=yangguo@chromium.org
BUG=
Review URL: https://codereview.chromium.org/71373003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17688 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-13 12:18:52 +00:00
machenbach@chromium.org
cbe604f4df
[Sheriff] Mark flaky webkit test.
...
TBR=jkummerow@chromium.org
BUG=v8:2989
Review URL: https://codereview.chromium.org/62283008
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17686 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-13 11:09:47 +00:00
yangguo@chromium.org
7206330260
Change table size for trigonometric functions.
...
Sunspider verifies floating point results to the last bit, so this is to
make sure that we return the expected result.
R=jkummerow@chromium.org
BUG=
Review URL: https://codereview.chromium.org/71123003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17685 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-13 10:44:28 +00:00
machenbach@chromium.org
6822e027b3
[Sheriff] Mark flaky webkit test.
...
TBR=jkummerow@chromium.org
BUG=v8:2989
Review URL: https://codereview.chromium.org/68573003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17684 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-13 10:43:43 +00:00
rossberg@chromium.org
cec8383cff
Provide private symbols through internal APIs
...
Adds a notion of private symbols, mainly intended for internal use, especially, self-hosting of built-in types that would otherwise require new C++ classes.
On the JS side (i.e., in built-ins), private properties can be created and accessed through a set of macros:
NEW_PRIVATE(print_name)
HAS_PRIVATE(obj, sym)
GET_PRIVATE(obj, sym)
SET_PRIVATE(obj, sym, val)
DELETE_PRIVATE(obj, sym)
In the V8 API, they are accessible via a new class Private, and respective HasPrivate/Get/Private/SetPrivate/DeletePrivate methods on calss Object.
These APIs are designed and restricted such that their implementation can later be replaced by whatever ES7+ will officially provide.
R=yangguo@chromium.org
BUG=
Review URL: https://codereview.chromium.org/48923002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17683 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-13 10:34:06 +00:00
mvstanton@chromium.org
9d6dddb9ae
Simplify behavior of code stubs that accept a variable number of stack
...
arguments in addition to their parameters. Before, we'd add a special
variable to the environment with the value of a register with the
number of arguments. Now, that register just appears as a parameter to
the code stub.
BUG=
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/70203002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17680 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-13 10:07:04 +00:00
palfia@homejinni.com
93c6ba639b
MIPS: Fix usage of EmitBranch in compare-minus-zero-and-branch.
...
Port r17669 (132efad)
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/71003003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17675 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-13 02:56:30 +00:00
plind44@gmail.com
6b461c7f15
MIPS: Fix build after r17654.
...
FullCodeGenerator::EmitMathFloor(CallRuntime* expr) function is not used anywhere and breaks the build.
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/69293010
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17674 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-12 19:40:56 +00:00
plind44@gmail.com
e23ac61f60
MIPS: Introduce %_IsMinusZero.
...
Port r17639 (45b8a52)
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/61203006
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17671 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-12 19:05:38 +00:00
yangguo@chromium.org
108538f151
Fix usage of EmitBranch in compare-minus-zero-and-branch.
...
R=jkummerow@chromium.org
BUG=
Review URL: https://codereview.chromium.org/68933009
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17669 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-12 17:18:05 +00:00
jkummerow@chromium.org
cbdd896345
Revert "linux: use CLOCK_{REALTIME,MONOTONIC}_COARSE"
...
This reverts r17642 (and follow-up fix r17644) for crashing the Chrome sandbox.
TBR=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/69933005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17668 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-12 17:10:30 +00:00
mstarzinger@chromium.org
102950d7a3
Remove dead FixedSpace class from the spaces hierarchy.
...
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/66003003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17667 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-12 16:36:14 +00:00
plind44@gmail.com
33f6db6a98
MIPS: Add initial hydrogenized NewStringAddStub.
...
Port r17635 (14180b1)
Original commit message:
The new stub is enabled via the --new-string-add flag, which is
disabled by default. For now, it's only a stripped down version
of the native StringAddStub, it's still work-in-progress.
BUG=v8:2990
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/69953005
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17664 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-12 16:24:13 +00:00
yangguo@chromium.org
41db9af665
Fix implementation of compare-minus-zero-and-branch on ia32 and x64.
...
R=jkummerow@chromium.org
BUG=
Review URL: https://codereview.chromium.org/63573004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17657 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-12 15:11:06 +00:00
yangguo@chromium.org
e83fd01ce6
Reland "Implement Math.sin, cos and tan using table lookup and spline interpolation."
...
This relands r17594 with necessary fixes.
R=jkummerow@chromium.org
BUG=
Review URL: https://codereview.chromium.org/70003004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17654 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-12 14:43:18 +00:00
yangguo@chromium.org
b2df9bca3f
Use %_IsMinusZero where applicable to replace hackery.
...
R=jarin@chromium.org
BUG=
Review URL: https://codereview.chromium.org/68453005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17649 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-12 14:20:53 +00:00
mstarzinger@chromium.org
d8e85bf0e0
Remove dead Space::ReserveSpace implementations.
...
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/67813009
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17648 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-12 14:15:29 +00:00
machenbach@chromium.org
f27eca66b3
Add more test coverage to push-to-trunk script.
...
Ensure that fetching commits works with huge change logs. The verbosity option will help debugging when dcommit hangs.
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/70143003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17645 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-12 13:11:15 +00:00
bmeurer@chromium.org
0f5a524bcf
CLOCK_REALTIME is 0 on Linux, use -1 for invalid clock id.
...
TBR=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/70133003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17644 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-12 12:30:59 +00:00
machenbach@chromium.org
fadaa0f6a3
[Sheriff] Mark flaky test on windows.
...
BUG=v8:2999
TBR=yangguo@chromium.org
Review URL: https://codereview.chromium.org/68773007
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17643 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-12 12:28:48 +00:00
bmeurer@chromium.org
a20330e846
linux: use CLOCK_{REALTIME,MONOTONIC}_COARSE
...
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/68203004
Patch from Ben Noordhuis <info@bnoordhuis.nl>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17642 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-12 12:18:35 +00:00
jkummerow@chromium.org
6aad7fb992
Fix compilation with GCC 4.8
...
BUG=v8:2767,v8:2149
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/69413002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17641 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-12 12:09:38 +00:00
yangguo@chromium.org
df9665032e
Introduce %_IsMinusZero.
...
R=jkummerow@chromium.org
BUG=
Review URL: https://codereview.chromium.org/63423004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17639 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-12 11:53:13 +00:00
jochen@chromium.org
7df10557a5
Add explicit Isolate parameter to External::New
...
We can't deprecate the non-Isolate version yet but soon will.
R=svenpanne@chromium.org , svenpanne@google.com
BUG=266838
Review URL: https://codereview.chromium.org/70163002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17638 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-12 11:44:58 +00:00
machenbach@chromium.org
fc9d804d27
[Sheriff] Skip failing test on nacl.
...
TBR=danno@chromium.org
BUG=v8:2998
Review URL: https://codereview.chromium.org/68163012
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17637 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-12 11:36:20 +00:00
bmeurer@chromium.org
6f75e92902
Add initial hydrogenized NewStringAddStub.
...
The new stub is enabled via the --new-string-add flag, which is
disabled by default. For now, it's only a stripped down version
of the native StringAddStub, it's still work-in-progress.
BUG=v8:2990
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/61893009
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17635 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-12 10:21:08 +00:00
svenpanne@chromium.org
51d637a073
Refine CopyBytes macro instruction in IA32/X64
...
Use DWORD/QWORD copy for more short cases
BUG=
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/66073003
Patch from Weiliang Lin <weiliang.lin@intel.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17632 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-12 09:08:51 +00:00
machenbach@chromium.org
5fcc956a98
Prepare push to trunk. Now working on version 3.23.3.
...
R=jkummerow@chromium.org
BUG=
Review URL: https://codereview.chromium.org/68413006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17629 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-12 09:03:08 +00:00
svenpanne@chromium.org
22b9adce49
Have mercy and don't kill the Context::Scope immediately after birth.
...
BUG=v8::2994
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/68693003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17627 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-12 07:03:59 +00:00
mstarzinger@chromium.org
8f611593a4
Simplify current inline allocation tracking mechanism.
...
R=yurys@chromium.org
Review URL: https://codereview.chromium.org/65043006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17626 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-11 18:00:52 +00:00
mstarzinger@chromium.org
a6795ea92e
Move old-space allocation tracking into Heap::AllocateRaw.
...
R=yurys@chromium.org
Review URL: https://codereview.chromium.org/68663002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17625 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-11 17:46:08 +00:00
mstarzinger@chromium.org
d5cb83f4aa
Fix invalid reuse of weak global handle in GetScriptWrapper.
...
This fixes a direct usage of a weak global handle in GetScriptWrapper
that just casted it to a strong local handle, while a subsequent GC
might clear it. Handlepocalypse anyone?
R=machenbach@chromium.org
BUG=v8:2988
TEST=mjsunit/regress/regress-2988
Review URL: https://codereview.chromium.org/67273004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17622 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-11 16:27:36 +00:00
yangguo@chromium.org
7fd7bbdcad
Fix potential assertion failure.
...
R=mvstanton@chromium.org
BUG=
Review URL: https://codereview.chromium.org/68913002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17621 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-11 15:28:47 +00:00
yangguo@chromium.org
c304afe54d
Fix potential assertion failure in ConvertCase.
...
IsOneByteRepresentationUnderneath requires the string to be flat, which is not
guaranteed in this case. Using IsOneByteRepresentation is sufficient here.
R=mvstanton@chromium.org
BUG=
Review URL: https://codereview.chromium.org/62493007
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17620 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-11 14:51:56 +00:00
mstarzinger@chromium.org
c6841f1180
Tame mjsunit/fast-literal after fixing allocations.
...
Not that allocations go through Heap::AllocateRaw and actually respect
the allocation timeout, the runtime of this test spiked. This adjusts
the limit to sane values now that the values are actually respected.
R=mvstanton@chromium.org
TEST=mjsunit/fast-literal
Review URL: https://codereview.chromium.org/63603009
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17615 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-11 10:22:46 +00:00
bmeurer@chromium.org
f681608d32
Revert "Use CLOCK_MONOTONIC_COARSE and CLOCK_REALTIME_COARSE on Linux if available."
...
This reverts commit r17611 for breaking the host toolchain build
for Android (missing clock_gettime() and clock_getres() functions).
TBR=ulan@chromium.org
Review URL: https://codereview.chromium.org/68513002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17614 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-11 08:46:45 +00:00
bmeurer@chromium.org
a1d339a389
Remove unused ParserMessage class.
...
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/52093007
Patch from Adrian Perez de Castro <aperez@igalia.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17613 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-11 08:07:37 +00:00
bmeurer@chromium.org
e2f552c342
Use CLOCK_MONOTONIC_COARSE and CLOCK_REALTIME_COARSE on Linux if available.
...
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/51333007
Patch from Ben Noordhuis <info@bnoordhuis.nl>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17611 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-11 07:49:18 +00:00
palfia@homejinni.com
b9ce668437
Set at least PTHREAD_STACK_MIN stack size when creating threads.
...
This patch makes sure, that the stack size of the new threads are never
less than PTHREAD_STACK_MIN, otherwise the pthread_attr_setstacksize()
function sets the default stack size (8MB), which leads to failure
in the BootUpMemoryUse test.
TEST=cctest/test-mark-compact/BootUpMemoryUse
BUG=
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/63183003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17610 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-09 00:14:21 +00:00
plind44@gmail.com
c4a4c95e32
MIPS: Reland 17588: Add signed/unsigned 8-bit and 16-bit Representations to Crankshaft.
...
Port r17606 (bc5ef55)
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/66163007
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17609 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-08 19:35:37 +00:00
rafaelw@chromium.org
4bc568b77a
Revert "Reland [Object.observe] Don't force normalization of elements for observed objects"
...
TBR=danno
BUG=
Review URL: https://codereview.chromium.org/67233002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17608 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-08 19:33:05 +00:00
rafaelw@chromium.org
ca8f947664
Reland [Object.observe] Don't force normalization of elements for observed objects
...
Original Issue: https://codereview.chromium.org/29353003/
TBR=danno
BUG=v8:2946
Review URL: https://codereview.chromium.org/66933003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17607 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-08 19:12:43 +00:00
danno@chromium.org
6fdec542bb
Reland 17588: Add signed/unsigned 8-bit and 16-bit Representations to Crankshaft
...
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/66193004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17606 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-08 17:35:58 +00:00
mstarzinger@chromium.org
8830bba1ef
Move new-space allocation tracking into Heap::AllocateRaw.
...
R=yurys@chromium.org
Review URL: https://codereview.chromium.org/66683004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17605 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-08 17:23:25 +00:00
machenbach@chromium.org
20e99185cb
[Sheriff] Mark flaky webkit tests.
...
BUG=v8:2989
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/66163004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17604 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-08 17:14:54 +00:00
mstarzinger@chromium.org
9babb0a7e7
Make runtime new-space allocations go through Heap::AllocateRaw.
...
R=ulan@chromium.org , ishell@chromium.org
Review URL: https://codereview.chromium.org/66723003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17603 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-08 17:09:14 +00:00