Fix the ARM64 build after recent JavaScriptCore changes
https://bugs.webkit.org/show_bug.cgi?id=124315

Reviewed by Michael Saboff.

Based on patches by myself, Filip Pizlo, Benjamin Poulain, and Michael Saboff.

* Configurations/JavaScriptCore.xcconfig: Hid the symbol for
std::bad_function_call.
* JavaScriptCore.xcodeproj/project.pbxproj: Marked
MacroAssemblerARM64.h and ARM64Assembler.h as Private headers.
* assembler/ARM64Assembler.h:
(JSC::ARM64Assembler::executableOffsetFor):
* assembler/MacroAssemblerARM64.h: Removed ARM64's executableCopy(),
which was removed from other assembler backends in r157690.
(JSC::MacroAssemblerARM64::shouldBlindForSpecificArch): Added.
(JSC::MacroAssemblerARM64::lshift64): Added.
(JSC::MacroAssemblerARM64::mul64): Added.
(JSC::MacroAssemblerARM64::rshift64): Added.
(JSC::MacroAssemblerARM64::convertInt64ToDouble): Added.
(JSC::MacroAssemblerARM64::branchMul64): Added.
(JSC::MacroAssemblerARM64::branchNeg64): Added.
(JSC::MacroAssemblerARM64::scratchRegisterForBlinding): Added.
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compileArithDiv): Changed
SpeculateIntegerOperand to SpeculateInt32Operand,
nodeCanIgnoreNegativeZero() to bytecodeCanIgnoreNegativeZero(), and
nodeUsedAsNumber() to bytecodeUsesAsNumber().
(JSC::DFG::SpeculativeJIT::compileArithMod): Changed
nodeCanIgnoreNegativeZero() to bytecodeCanIgnoreNegativeZero().

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159261 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tweak the property syntax after https://bugs.webkit.org/show_bug.cgi?id=124317

Reviewed by Dan Bernstein.

* UIProcess/API/mac/WKViewPrivate.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159262 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Cocoa] Add WKNSError
https://bugs.webkit.org/show_bug.cgi?id=124295

Reviewed by Anders Carlsson.

* Shared/Cocoa/APIObject.mm:
(API::Object::newObject): Allocate a WKNSError if the object is a WebError.
* Shared/Cocoa/WKNSError.h: Added.
(WebKit::wrapper): Added. Returns a WebError’s wrapper as an NSError.
* Shared/Cocoa/WKNSError.mm: Added.
(-[WKNSError _web_createTarget]): Override this WKObject method to return a copy of the
underlying CFError.
(-[WKNSError copyWithZone:]): Retains self.
* WebKit2.xcodeproj/project.pbxproj: Added new files.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159263 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Rename InspectorBackendDispatcher.h to InspectorBackendDispatchers.h
https://bugs.webkit.org/show_bug.cgi?id=124257

Reviewed by Timothy Hatcher.

Soon each domain will generate its own dispatcher, and the generic
InspectorBackendDispatcher will no longer be generated, it will just
live in WebCore/inspector.

* CMakeLists.txt:
* GNUmakefile.am:
* GNUmakefile.list.am:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* inspector/CodeGeneratorInspector.py:
* inspector/CodeGeneratorInspectorStrings.py:
(InspectorBackendDispatchers_h):
* inspector/InspectorBaseAgent.h:
* inspector/InspectorController.cpp:
* inspector/InspectorFrontendClientLocal.cpp:
* inspector/WorkerInspectorController.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159264 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Use NSCalendarIdentifierGregorian instead of NSGregorianCalendar on OS X 10.9 and iOS
https://bugs.webkit.org/show_bug.cgi?id=124323

Reviewed by Mark Rowe.

NSGregorianCalendar was deprecated in OS X 10.9 and iOS 7.

* platform/text/mac/LocaleMac.mm:
(WebCore::LocaleMac::LocaleMac):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159265 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Layout Test animations/resume-after-page-cache.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=124321

* platform/mac/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION (r159263): caused 50+ crashes on all mac webkit2 bots
https://bugs.webkit.org/show_bug.cgi?id=124327

Reviewed by Tim Horton.

* Shared/Cocoa/APIObject.mm:
(API::Object::newObject): Allocate extra memory for the WebError inside the WKNSError.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159267 268f45cc-cd09-0410-ab3c-d52691b4dbfc