Fix Android build.
BUG=v8:3506 LOG=N R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/486123002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23181 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
5598348272
commit
96038b7183
@ -87,7 +87,6 @@
|
||||
'-pthread', # Not supported by Android toolchain.
|
||||
],
|
||||
'cflags': [
|
||||
'-U__linux__', # Don't allow toolchain to claim -D__linux__
|
||||
'-ffunction-sections',
|
||||
'-funwind-tables',
|
||||
'-fstack-protector',
|
||||
|
@ -130,11 +130,11 @@ class InstructionSelectorTest : public CompilerTest {
|
||||
ConstantMap::const_iterator i;
|
||||
if (operand->IsConstant()) {
|
||||
i = constants_.find(operand->index());
|
||||
EXPECT_NE(constants_.end(), i);
|
||||
EXPECT_FALSE(constants_.end() == i);
|
||||
} else {
|
||||
EXPECT_EQ(InstructionOperand::IMMEDIATE, operand->kind());
|
||||
i = immediates_.find(operand->index());
|
||||
EXPECT_NE(immediates_.end(), i);
|
||||
EXPECT_FALSE(immediates_.end() == i);
|
||||
}
|
||||
EXPECT_EQ(operand->index(), i->first);
|
||||
return i->second;
|
||||
|
Loading…
Reference in New Issue
Block a user