PromiseThen should ignore non-function parameters.

When non-function parameters are given, PromiseThen should work as if
undefined parameters were given.

BUG=347455
LOG=Y
R=rossberg@chromium.org

Review URL: https://codereview.chromium.org/180723011

Patch from Yutaka Hirano <yhirano@chromium.org>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21025 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Fix promises-aplus testcfg.py

Fix GetSourceForTest which returned an incorrect result.
With this fix promises-aplus shows correct sources when --cat option is specified.

BUG=
R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/258763002

Patch from Yutaka Hirano <yhirano@chromium.org>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21026 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Remove some remnants of MaybeObjects in objects.*.

R=hpayer@chromium.org

Review URL: https://codereview.chromium.org/256993003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21027 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Revert "PromiseThen should ignore non-function parameters."

Wrong Blink test expectations, need to fix later.

TBR=machenbach@chromium.org
BUG=

Review URL: https://codereview.chromium.org/251813004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21028 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Remove invalid HCheckValue case in check elimination.

Also eliminate a useless copy of the map set in case of
HCheckMaps.

R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/256593011

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21033 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Copy the profiler ticks in %SetCode().

R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/257123005

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21034 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Bulk update of Google copyright headers in source files.

R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/259183002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21035 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Refactor calls to CALL_HEAP_FUNCTION.

R=mvstanton@chromium.org

Review URL: https://codereview.chromium.org/258953009

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21036 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Add missing length check when copying fixed arrays.

This was mistakenly removed in r21027.

R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/259203002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21037 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Make CreateInitialObjects more concise.

R=ishell@chromium.org

Review URL: https://codereview.chromium.org/255003002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21038 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
More runtime hardening

R=dslomov@chromium.org

Review URL: https://codereview.chromium.org/256293002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21039 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Fix android_arm64 build after r21001.

BUG=
R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/253873010

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21040 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Remove old-style accessor support from runtime.

BUG=
R=yangguo@chromium.org

Review URL: https://codereview.chromium.org/258243003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21041 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Don't unlink evacuation candidates before sweeping, move them to the end of their list of pages.

BUG=
R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/256743004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21042 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Micro-optimizations to pop() and shift()

R=verwaest@chromium.org
LOG=N

Review URL: https://codereview.chromium.org/247613002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21043 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Do not make objects in optimized code weak if collecting maps is disabled.

When collecting maps is disabled we do not clear non-live references.

BUG=
R=ishell@chromium.org

Review URL: https://codereview.chromium.org/258163003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21044 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Check that JSArray::SetElementsLength does not throw in array.length accessor.

BUG=
R=yangguo@chromium.org

Review URL: https://codereview.chromium.org/252743010

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21045 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Remove String::Visit

R=yangguo@chromium.org

BUG=

Review URL: https://codereview.chromium.org/254763008

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21046 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Return MaybeHandle from Object::ToSmi.

R=ulan@chromium.org

Review URL: https://codereview.chromium.org/260083011

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21047 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
arm: Fix Smi check in SubStringStub::Generate

R=ulan@chromium.org

Review URL: https://codereview.chromium.org/256743007

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21050 ce2b1a6d-e550-0410-aec6-3dcde31c8c00