Reviewers: Lasse Reichstein,

Description:
Add compilation guard to new x64-only file, for Mac platform.

Please review this at http://codereview.chromium.org/6249016/

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/x64/lithium-gap-resolver-x64.cc


Index: src/x64/lithium-gap-resolver-x64.cc
===================================================================
--- src/x64/lithium-gap-resolver-x64.cc (revision 6456)
+++ src/x64/lithium-gap-resolver-x64.cc (working copy)
@@ -25,6 +25,10 @@
 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+#include "v8.h"
+
+#if defined(V8_TARGET_ARCH_X64)
+
 #include "x64/lithium-gap-resolver-x64.h"
 #include "x64/lithium-codegen-x64.h"

@@ -312,3 +316,5 @@
 #undef __

 } }  // namespace v8::internal
+
+#endif  // V8_TARGET_ARCH_X64


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to