IA32-tests won't be compiled on ARM (and not just not run).
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@840 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
b6a83bc924
commit
f72d8a4de4
@ -318,7 +318,6 @@ void RegExpMacroAssemblerIA32::DispatchByteMap(
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void RegExpMacroAssemblerIA32::DispatchHighByteMap(
|
void RegExpMacroAssemblerIA32::DispatchHighByteMap(
|
||||||
byte start,
|
byte start,
|
||||||
Label* byte_map,
|
Label* byte_map,
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#ifndef REGEXP_MACRO_ASSEMBLER_IA32_H_
|
#ifndef REGEXP_MACRO_ASSEMBLER_IA32_H_
|
||||||
#define REGEXP_MACRO_ASSEMBLER_IA32_H_
|
#define REGEXP_MACRO_ASSEMBLER_IA32_H_
|
||||||
|
|
||||||
#if !(defined __arm__ || defined __thumb__ || defined ARM)
|
#if !(defined(ARM) || defined(__arm__) || defined(__thumb__))
|
||||||
|
|
||||||
#include "regexp-macro-assembler.h"
|
#include "regexp-macro-assembler.h"
|
||||||
#include "macro-assembler-ia32.h"
|
#include "macro-assembler-ia32.h"
|
||||||
|
@ -42,15 +42,6 @@
|
|||||||
static void Test##Name()
|
static void Test##Name()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (defined __arm__ || defined __thumb__ || defined ARM)
|
|
||||||
#define IA32TEST DISABLED_TEST
|
|
||||||
#define ARMTEST TEST
|
|
||||||
#else // ia32
|
|
||||||
#define IA32TEST TEST
|
|
||||||
#define ARMTEST DISABLED_TEST
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
class CcTest {
|
class CcTest {
|
||||||
public:
|
public:
|
||||||
typedef void (TestFunction)();
|
typedef void (TestFunction)();
|
||||||
|
@ -720,7 +720,9 @@ TEST(MacroAssembler) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
IA32TEST(MacroAssemblerIA32Success) {
|
#if !(defined(ARM) || defined(__arm__) || defined(__thumb__))
|
||||||
|
|
||||||
|
TEST(MacroAssemblerIA32Success) {
|
||||||
typedef bool (*AsciiTest) (
|
typedef bool (*AsciiTest) (
|
||||||
SeqAsciiString** base, int start_index, int end_index, int* captures);
|
SeqAsciiString** base, int start_index, int end_index, int* captures);
|
||||||
|
|
||||||
@ -756,7 +758,7 @@ IA32TEST(MacroAssemblerIA32Success) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
IA32TEST(MacroAssemblerIA32Simple) {
|
TEST(MacroAssemblerIA32Simple) {
|
||||||
typedef bool (*AsciiTest) (
|
typedef bool (*AsciiTest) (
|
||||||
SeqAsciiString** base, int start_index, int end_index, int* captures);
|
SeqAsciiString** base, int start_index, int end_index, int* captures);
|
||||||
|
|
||||||
@ -812,7 +814,7 @@ IA32TEST(MacroAssemblerIA32Simple) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
IA32TEST(MacroAssemblerIA32Backtrack) {
|
TEST(MacroAssemblerIA32Backtrack) {
|
||||||
typedef bool (*AsciiTest) (
|
typedef bool (*AsciiTest) (
|
||||||
SeqAsciiString** base, int start_index, int end_index, int* captures);
|
SeqAsciiString** base, int start_index, int end_index, int* captures);
|
||||||
|
|
||||||
@ -855,7 +857,7 @@ IA32TEST(MacroAssemblerIA32Backtrack) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
IA32TEST(MacroAssemblerIA32Registers) {
|
TEST(MacroAssemblerIA32Registers) {
|
||||||
typedef bool (*AsciiTest) (
|
typedef bool (*AsciiTest) (
|
||||||
SeqAsciiString** base, int start_index, int end_index, int* captures);
|
SeqAsciiString** base, int start_index, int end_index, int* captures);
|
||||||
|
|
||||||
@ -952,6 +954,7 @@ IA32TEST(MacroAssemblerIA32Registers) {
|
|||||||
CHECK_EQ(9, output[4]);
|
CHECK_EQ(9, output[4]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // !(defined(ARM) || defined(__arm__) || defined(__thumb__))
|
||||||
|
|
||||||
TEST(AddInverseToTable) {
|
TEST(AddInverseToTable) {
|
||||||
static const int kLimit = 1000;
|
static const int kLimit = 1000;
|
||||||
|
Loading…
Reference in New Issue
Block a user