Bug 879831, part 0 - Add defined(JS_ION) guard to more ion headers, to prevent the need for #ifdef JS_ION around #includes in other files. r=njn.

This commit is contained in:
Jason Orendorff 2013-06-06 22:47:23 -05:00
parent a522114b37
commit 38062bb90b
9 changed files with 9 additions and 9 deletions

View File

@ -4,7 +4,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#if !defined(jsion_asmjsmodule_h__)
#if !defined(jsion_asmjsmodule_h__) && defined(JS_ION)
#define jsion_asmjsmodule_h__
#include "gc/Marking.h"

View File

@ -4,7 +4,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef jsion_compilemode_h__
#if !defined(jsion_compilemode_h__) && defined(JS_ION)
#define jsion_compilemode_h__
namespace js {

View File

@ -4,7 +4,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef jsion_bytecode_analyzer_h__
#if !defined(jsion_bytecode_analyzer_h__) && defined(JS_ION)
#define jsion_bytecode_analyzer_h__
// This file declares the data structures for building a MIRGraph from a

View File

@ -4,7 +4,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef jsion_ion_compartment_h__
#if !defined(jsion_ion_compartment_h__) && defined(JS_ION)
#define jsion_ion_compartment_h__
#include "IonCode.h"

View File

@ -4,7 +4,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef jsion_frame_iterator_inl_h__
#if !defined(jsion_frame_iterator_inl_h__) && defined(JS_ION)
#define jsion_frame_iterator_inl_h__
#include "ion/BaselineFrame.h"

View File

@ -4,7 +4,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef jsion_frame_iterator_h__
#if !defined(jsion_frame_iterator_h__) && defined(JS_ION)
#define jsion_frame_iterator_h__
#include "jstypes.h"

View File

@ -4,7 +4,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef jsion_frames_inl_h__
#if !defined(jsion_frames_inl_h__) && defined(JS_ION)
#define jsion_frames_inl_h__
#include "ion/IonFrames.h"

View File

@ -4,7 +4,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef jsion_frames_h__
#if !defined(jsion_frames_h__) && defined(JS_ION)
#define jsion_frames_h__
#include "mozilla/DebugOnly.h"

View File

@ -4,7 +4,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef jsion_macro_assembler_h__
#if !defined(jsion_macro_assembler_h__) && defined(JS_ION)
#define jsion_macro_assembler_h__
#if defined(JS_CPU_X86)