Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 5d78a4a2e33158d23e0a3d560251b1929ef40f67..d5d546ab15d0886added9470e6a8db2b8590b4b1 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -8582,8 +8582,8 @@ void HOptimizedGraphBuilder::VisitCallNew(CallNew* expr) { |
// Force completion of inobject slack tracking before generating |
// allocation code to finalize instance size. |
- if (constructor->shared()->IsInobjectSlackTrackingInProgress()) { |
- constructor->shared()->CompleteInobjectSlackTracking(); |
+ if (constructor->IsInobjectSlackTrackingInProgress()) { |
+ constructor->CompleteInobjectSlackTracking(); |
} |
// Calculate instance size from initial map of constructor. |