bmeurer@chromium.org
5c6b9500aa
Use constant types to represent the fixed right arg of a MOD.
...
R=mvstanton@chromium.org , svenpanne@chromium.org
Review URL: https://codereview.chromium.org/99173002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18228 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-03 10:51:57 +00:00
jochen@chromium.org
8565d3e966
Remove deprecated Persistent::MakeWeak usage from V8
...
BUG=none
LOG=n
R=dcarney@chromium.org , ulan@chromium.org
Review URL: https://codereview.chromium.org/101523002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18227 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-03 10:40:13 +00:00
jochen@chromium.org
ee5726cd5b
Change clang-format config to allow for two empty lines between functions
...
BUG=none
R=jkummerow@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/101543002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18226 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-03 10:39:21 +00:00
jochen@chromium.org
b687004f0d
Add dcarney to V8 OWNERS
...
R=danno@chromium.org
LOG=n
BUG=none
Review URL: https://codereview.chromium.org/101373003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18225 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-03 10:24:41 +00:00
bmeurer@chromium.org
15fdadfb08
Enable new string add.
...
BUG=v8:2990
LOG=n
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/100223003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18222 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-03 09:59:24 +00:00
yurys@chromium.org
054bdf7fc0
Remove HeapSnapshotsCollection class
...
The class added unecessary level of indirection to the heap profiler implementation. I merged some of its implementation into HeapProfiler and deleted the rest. This refactoring is also a prerequisite for keeping HeapObjectsMap alive even when all snapshots are deleted.
BUG=None
LOG=N
R=alph@chromium.org , mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/101393002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18221 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-03 09:48:30 +00:00
machenbach@chromium.org
0fd8169408
Fix change log generation in push-to-trunk script.
...
Fixed missing parenthesis in regular expression. The log checker matched on the word "true" and included a wrong change log entry.
TEST=python -m unittest test_scripts.ToplevelTest.testRegressWrongLogEntryOnTrue
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/99573003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18220 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-03 09:13:51 +00:00
machenbach@chromium.org
738c15f697
Prepare push to trunk. Now working on version 3.23.18.
...
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/101313002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18217 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-03 08:00:20 +00:00
haitao.feng@intel.com
52ff9897fb
Refactor X64 movq assembler instruction
...
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/91333002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18216 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-03 03:49:41 +00:00
haitao.feng@intel.com
cb5ba0cfd2
Use ULL and LL suffix for uint64_t and int64_t constants on Mac
...
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/96623002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18215 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-03 02:49:42 +00:00
palfia@homejinni.com
5691b8f9c5
MIPS: Tidy up Throw and Mod
...
Port r18200 (4110d9df)
Original commit message:
Small fixes to Throw and Mod Lithium instructions.
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/100003003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18214 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 21:18:22 +00:00
palfia@homejinni.com
801b2b05c3
MIPS: Refactor BinaryOpIC to be able to use different stubs.
...
Port r18191 (c20c6dc1)
Original commit message:
Previously BinaryOpIC and BinaryOpStub were pretty much interdependent.
However, in order to use allocation sites for string adds on-demand,
we need to be able to use different stubs (with a different number of
register parameters, via trampolines) depending on the BinaryOpIC state.
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/100023002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18213 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 21:17:16 +00:00
palfia@homejinni.com
68e0ca2e08
MIPS: Fix HInnerAllocatedObject to use an HValue for the offset.
...
Port r18181 (2b41b833)
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/99763003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18212 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 21:16:21 +00:00
palfia@homejinni.com
f854247076
MIPS: Optimize WrapReceiver
...
Port r18180 (56666385)
Original commit message:
Optimize register constraints and code generated for WrapReceiver Lithium instruction.
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/100013002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18211 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 21:15:31 +00:00
titzer@chromium.org
16c4c14fac
Check elimination: Learn from if(CompareMap(x)) on true branch.
...
BUG=
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/99043002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18210 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 18:34:33 +00:00
jochen@chromium.org
5d4c7562a1
Remove remaining HandleScope::Close usage
...
For some reason, this is only caught when compiling with chromium on
Mac.
BUG=none
R=verwaest@chromium.org , dslomov@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/99263002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18209 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 18:12:01 +00:00
palfia@homejinni.com
83bd5a603e
MIPS: Remove the obsolete Code::IsPregenerated flag.
...
Port r18172 (cd823192)
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/99323003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18208 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 17:40:06 +00:00
ulan@chromium.org
7f885c709c
Print exit code on crash in run-tests.py
...
R=jkummerow@chromium.org
Review URL: https://chromiumcodereview.appspot.com/99363002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18204 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 15:46:41 +00:00
marja@chromium.org
54dfe36519
Fix: test-debug.cc: don't misuse C++.
...
The test in question (test-debug/LiveEditEnabled) is expected to fail, and it
failed, but because of the wrong reason (the test asserts that the default
isolate is not initialized, SetLiveEditEnabled initialized the default
isolate because it doesn't get one as param). Now it fails because of the right
reason.
R=ulan@chromium.org
BUG=
Review URL: https://codereview.chromium.org/99043004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18203 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 15:41:57 +00:00
mvstanton@chromium.org
de96489df8
Bug in StoreIC::GenerateMegamorphic: strict_mode/extra_ic_state mismatch.
...
When computing the code flags for a megamorphic store IC, we mistakenly
passed a strict_mode variable when an ExtraICState was expected.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/98633005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18202 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 15:38:50 +00:00
jkummerow@chromium.org
37e2c7e500
Support 'werror=no' on Mac/Xcode
...
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/98653003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18201 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 15:29:31 +00:00
m.m.capewell@googlemail.com
02bc466a1c
ARM: Tidy up Throw and Mod
...
Small fixes to Throw and Mod Lithium instructions.
TEST=none
BUG=
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/98603005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18200 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 15:27:57 +00:00
titzer@chromium.org
b5ee1e814b
Enable global load elimination.
...
BUG=
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/98943002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18198 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 14:49:39 +00:00
yurys@chromium.org
e87fe7b71f
Simplify allocation tracker API
...
Deprecated separate methods for starting/stopping allocation tracking in favor of a bool param to Start/StopTrackingHeapObjects.
BUG=None
LOG=N
R=loislo@chromium.org , mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/96933003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18197 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 14:27:24 +00:00
rossberg@chromium.org
bf3d84e3c8
Move more logic from AST to oracle, pt 3
...
Also eliminates remaining dependencies of type-info on AST.
R=jkummerow@chromium.org
BUG=
Review URL: https://codereview.chromium.org/95033003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18194 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 13:49:32 +00:00
bmeurer@chromium.org
620c985a0c
Fix NaCl build.
...
TBR=dslomov@chromium.org
Review URL: https://codereview.chromium.org/99093003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18193 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 13:40:14 +00:00
bmeurer@chromium.org
9b892b86b1
Refactor BinaryOpIC to be able to use different stubs.
...
Previously BinaryOpIC and BinaryOpStub were pretty much interdependent.
However, in order to use allocation sites for string adds on-demand,
we need to be able to use different stubs (with a different number of
register parameters, via trampolines) depending on the BinaryOpIC state.
R=hpayer@chromium.org , mvstanton@chromium.org
Review URL: https://codereview.chromium.org/97543002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18191 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 13:14:07 +00:00
bmeurer@chromium.org
aa83f2900a
Fix invalid assertion with OSR in BuildBinaryOperation.
...
BUG=v8:3032
LOG=n
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/98623004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18190 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 13:12:07 +00:00
yangguo@chromium.org
3d062847a4
Make sin-cos test case compatible with --always-osr.
...
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/98893002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18188 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 12:56:54 +00:00
mstarzinger@chromium.org
db915fe97e
Handle captured objects in OptimizedFrame::Summarize.
...
R=yangguo@chromium.org
BUG=v8:3029
TEST=mjsunit/regress/regress-3029
LOG=N
Review URL: https://codereview.chromium.org/96773002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18187 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 12:11:02 +00:00
mvstanton@chromium.org
30c77be771
Removed pieces of extra_ic_state scattered around the stub compiler class hierarchy, and pushed down to a extra_ic_state in the base class.
...
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/98853002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18185 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 11:59:44 +00:00
bmeurer@chromium.org
a3d1df29f1
Fix HInnerAllocatedObject to use an HValue for the offset.
...
R=hpayer@chromium.org , mvstanton@chromium.org
Review URL: https://codereview.chromium.org/98673003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18181 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 11:24:31 +00:00
m.m.capewell@googlemail.com
b974ede8d5
ARM: Optimize WrapReceiver
...
Optimize register constraints and code generated for WrapReceiver Lithium
instruction.
TEST=none
BUG=
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/96993002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18180 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 10:56:23 +00:00
machenbach@chromium.org
ae119b1365
Prepare push to trunk. Now working on version 3.23.17.
...
R=dslomov@chromium.org
Review URL: https://codereview.chromium.org/98453003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18177 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 10:46:10 +00:00
machenbach@chromium.org
010756b427
Add retry feature for push-to-trunk script.
...
Make url accesses retry. Git retry requires some more analysis of git output first (follow up CL).
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/91733003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18174 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 09:53:28 +00:00
verwaest@chromium.org
98897182f5
Remove special "store global proxy" IC, use as slow_stub().
...
R=mvstanton@chromium.org
Review URL: https://chromiumcodereview.appspot.com/95503003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18173 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 09:51:37 +00:00
bmeurer@chromium.org
46fbeec7ab
Remove the obsolete Code::IsPregenerated flag.
...
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/96753003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18172 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 09:46:35 +00:00
bmeurer@chromium.org
0de769aebd
Fix compilation error with latest Xcode.
...
The build failed because of unused private fields.
R=titzer@chromium.org
BUG=v8:3030
LOG=n
Review URL: https://codereview.chromium.org/94793003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18171 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-02 08:09:17 +00:00
bmeurer@chromium.org
80f138dc72
Don't run tests if build fails in quickcheck.
...
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/97803002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18170 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-01 11:40:02 +00:00
palfia@homejinni.com
3733905afa
MIPS: Drop IsPregenerated() and allow_stub_calls flag.
...
Port r18167 (1e4b11e0)
Original commit message:
This also removes the fixed register hack that was required to support RecordWriteStub in the snapshot.
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/97373002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18169 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-30 01:32:07 +00:00
palfia@homejinni.com
dc32799d10
MIPS: Fix failures on Octane 2.0 zlib benchmark.
...
The bug was introduced in af9504e.
The zlib benchmark triggers long branch mode on MIPS, in which
at register is clobbered after every branch.
TEST=benchmarks/octane/zlib
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/95203005
Patch from Dusan Milosavljevic <Dusan.Milosavljevic@rt-rk.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18168 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-29 23:46:10 +00:00
bmeurer@chromium.org
6e373493aa
Drop IsPregenerated() and allow_stub_calls flag.
...
This also removes the fixed register hack that was required to support RecordWriteStub in the snapshot.
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/96853003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18167 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-29 20:49:15 +00:00
palfia@homejinni.com
de51363235
MIPS: Fix --new-string-add feature.
...
This commit fixes the arguments of NewStringAdd stub in full-codegen.
BUG=
R=gergely@homejinni.com
Review URL: https://codereview.chromium.org/96593005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18166 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-29 19:51:52 +00:00
palfia@homejinni.com
35ba60113d
MIPS: Optimize NumberTagU
...
Port r18162 (8377a09b)
Original commit message:
Optimize register constaints for NumberTagU Lithium instruction, and adjust code generated to match.
BUG=
R=gergely@homejinni.com
Review URL: https://codereview.chromium.org/97083002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18165 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-29 19:50:38 +00:00
mvstanton@chromium.org
5ba1304d60
Array builtins need to be prevented from changing frozen objects, and changing structure on sealed objects.
...
BUG=299979
LOG=Y
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/80623002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18164 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-29 15:22:16 +00:00
m.m.capewell@googlemail.com
662fcc6363
ARM: Optimize NumberTagU
...
Optimize register constaints for NumberTagU Lithium instruction, and adjust code
generated to match.
TEST=none
BUG=
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/94983002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18162 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-29 13:21:43 +00:00
verwaest@chromium.org
4d5ec5e656
Reupload CallIC changes.
...
Relands https://codereview.chromium.org/91963003/ with fix for the invalid receiver patching in case of the global object / interceptor.
BUG=
R=ishell@chromium.org
Review URL: https://chromiumcodereview.appspot.com/96763002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18161 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-29 12:57:47 +00:00
titzer@chromium.org
425f3fde00
Eliminate HCheckHeapObject instructions in check elimination.
...
BUG=
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/95263005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18160 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-29 12:37:35 +00:00
yangguo@chromium.org
e5eef90e76
Prepare push to trunk. Now working on version 3.23.16.
...
R=dslomov@chromium.org
Review URL: https://codereview.chromium.org/96593004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18157 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-29 11:43:05 +00:00
yangguo@chromium.org
fd124a390a
Turn off new_string_add flag.
...
TBR=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/95603008
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18156 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-29 11:20:59 +00:00