Fix build after r23316.
TBR=hpayer@chromium.org Review URL: https://codereview.chromium.org/497073002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23317 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
ac4c14eb73
commit
8d1deb385f
@ -107,7 +107,8 @@ TEST_F(GCIdleTimeHandlerTest, IncrementalMarking1) {
|
||||
int idle_time_ms = 10;
|
||||
GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state);
|
||||
EXPECT_EQ(DO_INCREMENTAL_MARKING, action.type);
|
||||
EXPECT_GT(speed * idle_time_ms, action.parameter);
|
||||
EXPECT_GT(speed * static_cast<size_t>(idle_time_ms),
|
||||
static_cast<size_t>(action.parameter));
|
||||
EXPECT_LT(0, action.parameter);
|
||||
}
|
||||
|
||||
@ -119,7 +120,8 @@ TEST_F(GCIdleTimeHandlerTest, IncrementalMarking2) {
|
||||
int idle_time_ms = 10;
|
||||
GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state);
|
||||
EXPECT_EQ(DO_INCREMENTAL_MARKING, action.type);
|
||||
EXPECT_GT(speed * idle_time_ms, action.parameter);
|
||||
EXPECT_GT(speed * static_cast<size_t>(idle_time_ms),
|
||||
static_cast<size_t>(action.parameter));
|
||||
EXPECT_LT(0, action.parameter);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user