mstarzinger@chromium.org
112b59efbb
Try to make MSVC happy about EscapableHandleScope.
...
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/25077002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16994 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-27 15:32:26 +00:00
rodolph.perfetta@gmail.com
1726140330
ARM: Let the register allocator handle the context register.
...
BUG=none
TEST=none
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/24596002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16993 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-27 13:59:28 +00:00
yangguo@chromium.org
2dec4372d8
Finish control flow after throw if not inlined.
...
R=jkummerow@chromium.org
BUG=v8:2868
Review URL: https://codereview.chromium.org/24768002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16992 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-27 13:48:19 +00:00
yangguo@chromium.org
7f1fd5e16c
Restrict recorded execution pauses to the required range.
...
R=jkummerow@chromium.org
BUG=
Review URL: https://codereview.chromium.org/24997003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16991 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-27 13:45:17 +00:00
mvstanton@chromium.org
807cdd492b
Refactoring such that loop builders only call into the HOsrBuilder if
...
compiling for OSR.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/25039003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16990 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-27 13:38:04 +00:00
mvstanton@chromium.org
dbdcf5b671
Avoid using double temp register explicitly in lithium codegen
...
BUG=
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/23531084
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16989 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-27 12:43:37 +00:00
dcarney@chromium.org
b81c581b38
make v8::Locker not use Isolate::GetCurrent()
...
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/25002004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16988 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-27 11:32:13 +00:00
jochen@chromium.org
8d660be217
Only zapped used handles if a handle scope fits entirely within one handle block
...
This should avoid zapping the same unused handles over and over again
when using many small nested handle scopes.
BUG=none
R=mstarzinger@chromium.org , vegorov@chromium.org
Review URL: https://codereview.chromium.org/24359003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16987 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-27 11:31:06 +00:00
hpayer@chromium.org
8f60f65bdf
Disable gc stress mode for mjsunit timer test.
...
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/24979002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16984 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-27 11:04:16 +00:00
hpayer@chromium.org
4c01c4040a
Re-land "Add methods to enable configuration of ResourceConstraints based on limits derived at runtime."
...
Adds ConfigureResourceConstraintsForCurrentPlatform and SetDefaultResourceConstraintsForCurrentPlatform which configure the heap based on the available physical memory, rather than hard-coding by platform as previous. This change also adds OS::TotalPhysicalMemory to platform.h.
The re-land fix the performance regression caused by accidental change in default max young space size.
BUG=292928
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/24989003
Patch from Ross McIlroy <rmcilroy@chromium.org>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16983 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-27 10:53:07 +00:00
palfia@homejinni.com
c34af4ae6d
MIPS: Fix simulator divide for overflow case.
...
TEST=mjsunit/div-mul-minus-one.js
BUG=
R=gergely@homejinni.com
Review URL: https://codereview.chromium.org/24956002
Patch from Paul Lind <plind44@gmail.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16982 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-27 10:42:51 +00:00
machenbach@chromium.org
936802ae21
Revert "Add methods to enable configuration of ResourceConstraints based on limits derived at runtime." and "Fix Windows build of defaults.cc."
...
This reverts commit r16964 and r16968 due to performance regressions in octane.
TBR=hpayer@chromium.org
Review URL: https://codereview.chromium.org/24996003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16979 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-27 09:45:14 +00:00
yangguo@chromium.org
42d7071422
Disposing an OSR job should only restore the back edge state.
...
R=titzer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/24725002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16978 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-27 09:37:18 +00:00
mstarzinger@chromium.org
77c60c9a84
Disable escape analysis for Canary stabilization.
...
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/24996002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16977 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-27 08:46:29 +00:00
haitao.feng@intel.com
65813ea24e
Tweak SmiSub for X64
...
R=danno@chromium.org
Review URL: https://codereview.chromium.org/24965002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16976 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-27 07:46:52 +00:00
machenbach@chromium.org
5a5f2d22e1
Prepare push to trunk. Now working on version 3.22.4.
...
R=hpayer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/24977002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16973 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-27 07:26:59 +00:00
dcarney@chromium.org
7fcd0f395e
remove Local::New with no isolate parameter
...
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/24550006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16972 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-27 07:04:02 +00:00
palfia@homejinni.com
d6a4d7e6dd
MIPS: Refactoring PropertyCallbackInfo & FunctionCallbackInfo, step 2.
...
Port r16961 (ce471468)
Original commit message:
This step reorders the FunctionCallbackInfo fields.
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/24857002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16971 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-26 22:18:02 +00:00
titzer@chromium.org
d441160cab
Implement local check elimination on basic blocks.
...
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/23866016
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16970 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-26 16:25:57 +00:00
mstarzinger@chromium.org
9c3ffc4f58
Fix replaying of HCapturedObject for nested objects.
...
R=titzer@chromium.org
TEST=mjsunit/compiler/property-refs,mjsunit/compiler/escape-analysis
Review URL: https://codereview.chromium.org/24561002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16969 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-26 15:28:46 +00:00
hpayer@chromium.org
71bcf9a621
Fix Windows build of defaults.cc.
...
BUG=None
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/24762002
Patch from Ross McIlroy <rmcilroy@chromium.org>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16968 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-26 14:49:47 +00:00
dcarney@chromium.org
47e32d0339
Add EscapableHandleScope to api to fix problems with HandleScope::Close
...
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/24245005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16965 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-26 13:46:37 +00:00
hpayer@chromium.org
a57300fb9e
Add methods to enable configuration of ResourceConstraints based on limits derived at runtime.
...
Adds ConfigureResourceConstraintsForCurrentPlatform and SetDefaultResourceConstraintsForCurrentPlatform which configure the heap based on the available physical memory, rather than hard-coding by platform as previous. This change also adds OS::TotalPhysicalMemory to platform.h.
BUG=292928
R=danno@chromium.org , hpayer@chromium.org
Review URL: https://codereview.chromium.org/24269003
Patch from Ross McIlroy <rmcilroy@chromium.org>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16964 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-26 13:31:19 +00:00
dcarney@chromium.org
582e6ad41b
build fix for 16957 - broke shared builds
...
TBR=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/24562009
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16962 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-26 12:42:10 +00:00
marja@chromium.org
2dc3eca47d
Refactoring PropertyCallbackInfo & FunctionCallbackInfo, step 2.
...
This step reorders the FunctionCallbackInfo fields.
BUG=
R=dcarney@chromium.org , mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/23484037
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16961 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-26 10:28:00 +00:00
hpayer@chromium.org
4078a89a27
Add -optimize-for-size flag to optimize for memory size (will be used by pre-aging CL), and remove the is_memory_constrained ResourceConstraint.
...
BUG=292928
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/24018009
Patch from Ross McIlroy <rmcilroy@chromium.org>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16960 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-26 09:40:13 +00:00
mstarzinger@chromium.org
5e7fcdb612
Make Heap::AllocateRawFixedArray methods private.
...
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/24337005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16959 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-26 09:37:25 +00:00
dcarney@chromium.org
6245d34b95
build fix for 16957
...
TBR=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/24726002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16958 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-26 08:47:59 +00:00
dcarney@chromium.org
7bad4ba648
remove uses of static oddball accessors using GetCurrent in advance of removal from api
...
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/24508006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16957 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-26 08:21:48 +00:00
dcarney@chromium.org
8d549fb1c0
fix copy/paste error in r16955
...
TBR=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/24721002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16956 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-26 07:43:09 +00:00
dcarney@chromium.org
2efd6aa179
add isolate parameter to ThrowException
...
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/24538002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16955 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-26 07:37:59 +00:00
machenbach@chromium.org
d2e046bec2
Prepare push to trunk. Now working on version 3.22.3.
...
R=danno@chromium.org
BUG=
Review URL: https://codereview.chromium.org/24530008
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16952 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-26 07:35:34 +00:00
palfia@homejinni.com
22e619f3f5
MIPS: Tweak Math.exp.
...
Port r16913 (a1b66fea)
Original commit message:
Avoid corrupting the input and small assembly tuning.
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/24654002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16951 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-25 20:42:26 +00:00
machenbach@chromium.org
7c0c861e7a
Fix comment in test case.
...
TBR=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/24643002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16949 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-25 18:53:33 +00:00
machenbach@chromium.org
9fd455872c
Let timer test retry for 20ms to reduce flakiness.
...
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/24484003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16948 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-25 16:47:56 +00:00
plind44@gmail.com
9c455ab79d
MIPS: Less aggressive polling when concurrently compiling for OSR.
...
Port r16934 (b12e96b)
Original commit message:
Changes include:
- completed concurrent OSR tasks trigger a stack check interrupt.
- polling for completion is now guarded by a stack check.
- circular buffer for completed OSR tasks instead of list.
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/24590002
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16947 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-25 16:27:52 +00:00
yangguo@chromium.org
64bcae30f9
Allocate optimizing compiler thread only when necessary.
...
R=ulan@chromium.org
BUG=
Review URL: https://codereview.chromium.org/24568003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16946 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-25 15:14:12 +00:00
yangguo@chromium.org
612dedc781
Add trace output when recompilation queues are flushed.
...
R=mvstanton@chromium.org
BUG=
Review URL: https://codereview.chromium.org/24466003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16945 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-25 15:13:10 +00:00
verwaest@chromium.org
344e1d9003
Internalize names before using them in slow-mode objects.
...
R=yangguo@chromium.org
Review URL: https://chromiumcodereview.appspot.com/24566005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16944 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-25 15:11:48 +00:00
verwaest@chromium.org
3ee82ddc3f
Special handle for mul/div minus one when kAllUsesTruncatingToInt32
...
BUG=
R=verwaest@chromium.org
Review URL: https://chromiumcodereview.appspot.com/24521002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16943 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-25 15:10:48 +00:00
hpayer@chromium.org
77000f2d59
Disable timer mjsunit test on Windows.
...
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/24485004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16942 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-25 12:46:45 +00:00
machenbach@chromium.org
0cb81e8e62
Add windows to status variable list.
...
This will allow to modify test expectation for system==windows.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/24528003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16941 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-25 12:37:00 +00:00
olivf@chromium.org
9d3c5c5fb6
Macrofication of HInstruction constructors with context argument.
...
BUG=
R=danno@chromium.org
Review URL: https://codereview.chromium.org/24544002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16940 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-25 11:57:20 +00:00
yangguo@chromium.org
ed9d981ed6
Rename "OptimizingCompiler" to the more suitable "RecompileJob".
...
R=mvstanton@chromium.org
BUG=
Review URL: https://codereview.chromium.org/24543002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16939 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-25 10:01:18 +00:00
hpayer@chromium.org
f59bcf2f3b
Revert OS::TimeCurrentMillis on Windows introduced in r16413.
...
BUG=chromium:288924
R=danno@chromium.org , jkummerow@chromium.org
Review URL: https://codereview.chromium.org/24529002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16938 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-25 09:50:48 +00:00
mstarzinger@chromium.org
a409a2d651
Remove obsolete global SubString method.
...
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/24545002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16937 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-25 09:31:10 +00:00
verwaest@chromium.org
d0e12549ed
Reset IC to premonomorphic rather than uninitialized.
...
R=mstarzinger@chromium.org
Review URL: https://chromiumcodereview.appspot.com/24512003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16936 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-25 09:25:39 +00:00
yangguo@chromium.org
6eb8691846
Remove unused kFirstMathFunctionId
...
Review URL: https://codereview.chromium.org/24537002
Patch from Haitao Feng <haitao.feng@intel.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16935 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-25 09:10:45 +00:00
yangguo@chromium.org
10b45a5bc4
Less aggressive polling when concurrently compiling for OSR.
...
Changes include:
- completed concurrent OSR tasks trigger a stack check interrupt.
- polling for completion is now guarded by a stack check.
- circular buffer for completed OSR tasks instead of list.
R=titzer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/24237009
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16934 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-25 08:26:11 +00:00
olivf@chromium.org
d268078ce0
Fix flaky parallel recompilation test.
...
On very rare circumstances parallel recompilation would install
the optimized method earlier than expected and the test would fail.
BUG=
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/24495005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16933 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-09-25 08:23:14 +00:00