Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 46589b99f0bea7aba4874f8b27e9539add4aa634..7d5d79c60b4c4df12c53e8fd6014be1133c05df1 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -874,7 +874,7 @@ void SetResourceConstraints(i::Isolate* isolate, |
if (semi_space_size != 0 || old_space_size != 0 || |
max_executable_size != 0 || code_range_size != 0) { |
isolate->heap()->ConfigureHeap(semi_space_size, old_space_size, |
- max_executable_size, code_range_size); |
+ code_range_size); |
} |
isolate->allocator()->ConfigureSegmentPool(max_pool_size); |