Index: src/builtins/setup-builtins-full.cc |
diff --git a/src/builtins/setup-builtins-full.cc b/src/builtins/setup-builtins-full.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7d39f51f7e098b726efd2307cbe4cd44aff0eda6 |
--- /dev/null |
+++ b/src/builtins/setup-builtins-full.cc |
@@ -0,0 +1,27 @@ |
+// Copyright 2017 the V8 project authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "src/builtins/setup-builtins.h" |
+ |
+#include "src/base/logging.h" |
+#include "src/isolate.h" |
+ |
+namespace v8 { |
+namespace internal { |
+ |
+void SetupBuiltinsDelegate::SetupBuiltins(Isolate* isolate, |
+ bool create_heap_objects) { |
+#ifdef V8_GYP_BUILD |
+ // Compatibility hack to keep the deprecated GYP build working. |
+ if (create_heap_objects) { |
+ SetupBuiltinsInternal(isolate); |
+ } |
+ return; |
+#endif |
+ DCHECK(create_heap_objects); |
+ SetupBuiltinsInternal(isolate); |
+} |
+ |
+} // namespace internal |
+} // namespace v8 |