Fix the xcode build by not including x64 specific code when generating

32 bit code.

Review URL: http://codereview.chromium.org/6249002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6299 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
ricow@chromium.org 2011-01-13 14:10:26 +00:00
parent 0ec74d5829
commit 4ea3e060bb
6 changed files with 32 additions and 0 deletions

View File

@ -27,6 +27,8 @@
#include "v8.h"
#if defined(V8_TARGET_ARCH_IA32)
#include "codegen.h"
#include "deoptimizer.h"
#include "full-codegen.h"
@ -618,3 +620,5 @@ void Deoptimizer::TableEntryGenerator::GeneratePrologue() {
} } // namespace v8::internal
#endif // V8_TARGET_ARCH_IA32

View File

@ -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_IA32)
#include "ia32/lithium-codegen-ia32.h"
#include "code-stubs.h"
#include "stub-cache.h"
@ -3482,3 +3486,5 @@ void LCodeGen::DoOsrEntry(LOsrEntry* instr) {
#undef __
} } // namespace v8::internal
#endif // V8_TARGET_ARCH_IA32

View File

@ -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_IA32)
#include "ia32/lithium-ia32.h"
#include "ia32/lithium-codegen-ia32.h"
@ -1874,3 +1878,5 @@ LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) {
} } // namespace v8::internal
#endif // V8_TARGET_ARCH_IA32

View File

@ -27,6 +27,8 @@
#include "v8.h"
#if defined(V8_TARGET_ARCH_X64)
#include "codegen.h"
#include "deoptimizer.h"
#include "full-codegen.h"
@ -75,3 +77,5 @@ void Deoptimizer::TableEntryGenerator::GeneratePrologue() {
}
} } // namespace v8::internal
#endif // V8_TARGET_ARCH_X64

View File

@ -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-codegen-x64.h"
#include "code-stubs.h"
#include "stub-cache.h"
@ -1125,3 +1129,5 @@ void LCodeGen::DoOsrEntry(LOsrEntry* instr) {
#undef __
} } // namespace v8::internal
#endif // V8_TARGET_ARCH_X64

View File

@ -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-x64.h"
#include "x64/lithium-codegen-x64.h"
@ -1314,3 +1318,5 @@ LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) {
}
} } // namespace v8::internal
#endif // V8_TARGET_ARCH_X64