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

Unified Diff: src/full-codegen.cc

Issue 18014003: Add X32 port into V8 (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: src/full-codegen.cc
===================================================================
--- src/full-codegen.cc (revision 15486)
+++ src/full-codegen.cc (working copy)
@@ -302,6 +302,10 @@
#define __ ACCESS_MASM(masm())
+#if V8_TARGET_ARCH_X32
danno 2013/07/17 13:33:21 I am not sure why x32 needs this, but there should
haitao.feng 2013/07/18 10:04:09 In this file, 32-bits push/pop is needed but there
+#define push Push
+#define pop Pop
+#endif
bool FullCodeGenerator::MakeCode(CompilationInfo* info) {
Isolate* isolate = info->isolate();
@@ -1616,6 +1620,10 @@
}
+#if V8_TARGET_ARCH_X32
+#undef push
+#undef pop
+#endif
#undef __

Powered by Google App Engine
This is Rietveld 408576698