OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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/runtime/runtime-utils.h" | 5 #include "src/runtime/runtime-utils.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "src/arguments.h" | 9 #include "src/arguments.h" |
10 #include "src/ast/prettyprinter.h" | 10 #include "src/ast/prettyprinter.h" |
11 #include "src/bootstrapper.h" | 11 #include "src/bootstrapper.h" |
12 #include "src/conversions.h" | 12 #include "src/conversions.h" |
13 #include "src/debug/debug.h" | 13 #include "src/debug/debug.h" |
14 #include "src/frames-inl.h" | 14 #include "src/frames-inl.h" |
15 #include "src/isolate-inl.h" | 15 #include "src/isolate-inl.h" |
16 #include "src/messages.h" | 16 #include "src/messages.h" |
| 17 #include "src/parsing/parse-info.h" |
17 #include "src/parsing/parser.h" | 18 #include "src/parsing/parser.h" |
18 #include "src/wasm/wasm-module.h" | 19 #include "src/wasm/wasm-module.h" |
19 | 20 |
20 namespace v8 { | 21 namespace v8 { |
21 namespace internal { | 22 namespace internal { |
22 | 23 |
23 RUNTIME_FUNCTION(Runtime_CheckIsBootstrapping) { | 24 RUNTIME_FUNCTION(Runtime_CheckIsBootstrapping) { |
24 SealHandleScope shs(isolate); | 25 SealHandleScope shs(isolate); |
25 DCHECK(args.length() == 0); | 26 DCHECK(args.length() == 0); |
26 CHECK(isolate->bootstrapper()->IsActive()); | 27 CHECK(isolate->bootstrapper()->IsActive()); |
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
564 | 565 |
565 RUNTIME_FUNCTION(Runtime_Typeof) { | 566 RUNTIME_FUNCTION(Runtime_Typeof) { |
566 HandleScope scope(isolate); | 567 HandleScope scope(isolate); |
567 DCHECK_EQ(1, args.length()); | 568 DCHECK_EQ(1, args.length()); |
568 CONVERT_ARG_HANDLE_CHECKED(Object, object, 0); | 569 CONVERT_ARG_HANDLE_CHECKED(Object, object, 0); |
569 return *Object::TypeOf(isolate, object); | 570 return *Object::TypeOf(isolate, object); |
570 } | 571 } |
571 | 572 |
572 } // namespace internal | 573 } // namespace internal |
573 } // namespace v8 | 574 } // namespace v8 |
OLD | NEW |