Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1073)

Side by Side Diff: src/builtins/setup-builtins-full.cc

Issue 2760233005: [snapshot] Move builtins generation into mksnapshot (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "src/builtins/setup-builtins.h"
6
7 #include "src/base/logging.h"
8 #include "src/isolate.h"
9
10 namespace v8 {
11 namespace internal {
12
13 void SetupBuiltinsDelegate::SetupBuiltins(Isolate* isolate,
14 bool create_heap_objects) {
15 #ifdef V8_GYP_BUILD
16 // Compatibility hack to keep the deprecated GYP build working.
17 if (create_heap_objects) {
18 SetupBuiltinsInternal(isolate);
19 }
20 return;
21 #endif
22 DCHECK(create_heap_objects);
23 SetupBuiltinsInternal(isolate);
24 }
25
26 } // namespace internal
27 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698