src/arm/emitter-inlines.h (view raw)
1/* Copyright (c) 2013-2014 Jeffrey Pfau
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6#ifndef EMITTER_INLINES_H
7#define EMITTER_INLINES_H
8
9#define DO_4(DIRECTIVE) \
10 DIRECTIVE, \
11 DIRECTIVE, \
12 DIRECTIVE, \
13 DIRECTIVE
14
15#define DO_8(DIRECTIVE) \
16 DIRECTIVE, \
17 DIRECTIVE, \
18 DIRECTIVE, \
19 DIRECTIVE, \
20 DIRECTIVE, \
21 DIRECTIVE, \
22 DIRECTIVE, \
23 DIRECTIVE
24
25#define DO_256(DIRECTIVE) \
26 DO_4(DO_8(DO_8(DIRECTIVE)))
27
28#define DO_INTERLACE(LEFT, RIGHT) \
29 LEFT, \
30 RIGHT
31
32#endif