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

Side by Side Diff: test/cctest/setup-isolate-for-tests.cc

Issue 2760233005: [snapshot] Move builtins generation into mksnapshot (Closed)
Patch Set: fix GYP builds Created 3 years, 8 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
« no previous file with comments | « test/cctest/setup-isolate-for-tests.h ('k') | test/cctest/test-serialize.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "test/cctest/setup-isolate-for-tests.h"
6
7 #include "src/interpreter/setup-interpreter.h"
8
9 namespace v8 {
10 namespace internal {
11
12 void SetupIsolateDelegateForTests::SetupBuiltins(Isolate* isolate,
13 bool create_heap_objects) {
14 if (create_heap_objects) {
15 SetupBuiltinsInternal(isolate);
16 }
17 }
18
19 void SetupIsolateDelegateForTests::SetupInterpreter(
20 interpreter::Interpreter* interpreter, bool create_heap_objects) {
21 if (create_heap_objects) {
22 interpreter::SetupInterpreter::InstallBytecodeHandlers(interpreter);
23 }
24 }
25
26 } // namespace internal
27 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/setup-isolate-for-tests.h ('k') | test/cctest/test-serialize.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698