v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
undef-assembler-macros.inc
Go to the documentation of this file.
1// Copyright 2023 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// PRESUBMIT_INTENTIONALLY_MISSING_INCLUDE_GUARD
6
7// This file undefines Turboshaft's assembler macros. Include this file after
8// your reducer and don't forget to include 'define-assembler-macros.inc' before.
9
10#ifndef V8_COMPILER_TURBOSHAFT_ASSEMBLER_MACROS_DEFINED
11#error \
12 "Assembler macros not defined. Did you forget to #include \"define-assembler-macros.inc\" in this file?"
13#endif
14
15#undef __
16
17#undef Assert
18
19#undef BIND
20#undef BIND_LOOP
21#undef BREAK
22#undef CONTINUE
23#undef ELSE
24#undef FOREACH
25#undef FOREACH_IMPL_2
26#undef FOREACH_IMPL_3
27#undef GOTO
28#undef GOTO_IF
29#undef GOTO_IF_NOT
30#undef IF
31#undef IF_NOT
32#undef LIKELY
33#undef REDUCE
34#undef REDUCE_INPUT_GRAPH
35#undef TSA_DCHECK
36#undef UNLIKELY
37#undef WHILE
38
39#undef FORCE_UNROLL_LOOP
40#undef SUPPRESSED_DANGLING_ELSE_WARNING_IF
41#undef SUPPRESSED_DANGLING_ELSE_WARNING_ELSE
42#undef NO_SHADOW
43#undef RE_SHADOW
44
45#undef V8_COMPILER_TURBOSHAFT_ASSEMBLER_MACROS_DEFINED