Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Side by Side Diff: Source/core/platform/audio/VectorMath.cpp

Issue 22038002: Get rid of the tryFast*alloc API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Review item. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010, Google Inc. All rights reserved. 2 * Copyright (C) 2010, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 10 matching lines...) Expand all
21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */ 23 */
24 24
25 #include "config.h" 25 #include "config.h"
26 26
27 #if ENABLE(WEB_AUDIO) 27 #if ENABLE(WEB_AUDIO)
28 28
29 #include "core/platform/audio/VectorMath.h" 29 #include "core/platform/audio/VectorMath.h"
30 30
31 #include "wtf/Assertions.h"
32
31 #if OS(DARWIN) 33 #if OS(DARWIN)
32 #include <Accelerate/Accelerate.h> 34 #include <Accelerate/Accelerate.h>
33 #endif 35 #endif
34 36
35 #ifdef __SSE2__ 37 #ifdef __SSE2__
36 #include <emmintrin.h> 38 #include <emmintrin.h>
37 #endif 39 #endif
38 40
39 #if HAVE(ARM_NEON_INTRINSICS) 41 #if HAVE(ARM_NEON_INTRINSICS)
40 #include <arm_neon.h> 42 #include <arm_neon.h>
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 } 680 }
679 } 681 }
680 682
681 #endif // OS(DARWIN) 683 #endif // OS(DARWIN)
682 684
683 } // namespace VectorMath 685 } // namespace VectorMath
684 686
685 } // namespace WebCore 687 } // namespace WebCore
686 688
687 #endif // ENABLE(WEB_AUDIO) 689 #endif // ENABLE(WEB_AUDIO)
OLDNEW
« no previous file with comments | « Source/core/platform/audio/Distance.cpp ('k') | Source/core/platform/graphics/FontWidthVariant.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698