Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 448c58908db8fb80c8cd2d1f93814324fcbab612..29533d4bd4c405fcf3719c842aa4e0290073178b 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -3570,6 +3570,8 @@ TEST(EnsureAllocationSiteDependentCodesProcessed) { |
v8::internal::Heap* heap = CcTest::heap(); |
GlobalHandles* global_handles = isolate->global_handles(); |
+ if (!isolate->use_crankshaft()) return; |
+ |
// The allocation site at the head of the list is ours. |
Handle<AllocationSite> site; |
{ |