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

Side by Side Diff: src/api.cc

Issue 2277253003: [modules] Partial scope info support of modules (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@modules-refactor
Patch Set: Created 4 years, 3 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
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/api.h" 5 #include "src/api.h"
6 6
7 #include <string.h> // For memcpy, strlen. 7 #include <string.h> // For memcpy, strlen.
8 #ifdef V8_USE_ADDRESS_SANITIZER 8 #ifdef V8_USE_ADDRESS_SANITIZER
9 #include <sanitizer/asan_interface.h> 9 #include <sanitizer/asan_interface.h>
10 #endif // V8_USE_ADDRESS_SANITIZER 10 #endif // V8_USE_ADDRESS_SANITIZER
11 #include <cmath> // For isnan. 11 #include <cmath> // For isnan.
12 #include <limits> 12 #include <limits>
13 #include <vector> 13 #include <vector>
14 #include "include/v8-debug.h" 14 #include "include/v8-debug.h"
15 #include "include/v8-experimental.h" 15 #include "include/v8-experimental.h"
16 #include "include/v8-profiler.h" 16 #include "include/v8-profiler.h"
17 #include "include/v8-testing.h" 17 #include "include/v8-testing.h"
18 #include "include/v8-util.h" 18 #include "include/v8-util.h"
19 #include "src/accessors.h" 19 #include "src/accessors.h"
20 #include "src/api-experimental.h" 20 #include "src/api-experimental.h"
21 #include "src/api-natives.h" 21 #include "src/api-natives.h"
22 #include "src/assert-scope.h" 22 #include "src/assert-scope.h"
23 #include "src/ast/scopeinfo.h"
adamk 2016/08/25 16:19:43 Is this needed yet?
neis 2016/08/26 09:52:07 Not in this CL, no. Leftover of trying to split m
23 #include "src/background-parsing-task.h" 24 #include "src/background-parsing-task.h"
24 #include "src/base/functional.h" 25 #include "src/base/functional.h"
25 #include "src/base/platform/platform.h" 26 #include "src/base/platform/platform.h"
26 #include "src/base/platform/time.h" 27 #include "src/base/platform/time.h"
27 #include "src/base/utils/random-number-generator.h" 28 #include "src/base/utils/random-number-generator.h"
28 #include "src/bootstrapper.h" 29 #include "src/bootstrapper.h"
29 #include "src/char-predicates-inl.h" 30 #include "src/char-predicates-inl.h"
30 #include "src/code-stubs.h" 31 #include "src/code-stubs.h"
31 #include "src/compiler.h" 32 #include "src/compiler.h"
32 #include "src/context-measure.h" 33 #include "src/context-measure.h"
(...skipping 8955 matching lines...) Expand 10 before | Expand all | Expand 10 after
8988 Address callback_address = 8989 Address callback_address =
8989 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); 8990 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback));
8990 VMState<EXTERNAL> state(isolate); 8991 VMState<EXTERNAL> state(isolate);
8991 ExternalCallbackScope call_scope(isolate, callback_address); 8992 ExternalCallbackScope call_scope(isolate, callback_address);
8992 callback(info); 8993 callback(info);
8993 } 8994 }
8994 8995
8995 8996
8996 } // namespace internal 8997 } // namespace internal
8997 } // namespace v8 8998 } // namespace v8
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/ast/ast-numbering.cc » ('j') | src/ast/scopeinfo.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698