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/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/arguments.h" | 7 #include "src/arguments.h" |
8 #include "src/compiler.h" | 8 #include "src/compiler.h" |
9 #include "src/deoptimizer.h" | 9 #include "src/deoptimizer.h" |
10 #include "src/frames.h" | 10 #include "src/frames.h" |
11 #include "src/full-codegen.h" | 11 #include "src/full-codegen.h" |
12 #include "src/isolate-inl.h" | |
13 #include "src/messages.h" | 12 #include "src/messages.h" |
14 #include "src/runtime/runtime-utils.h" | 13 #include "src/runtime/runtime-utils.h" |
15 #include "src/v8threads.h" | 14 #include "src/v8threads.h" |
16 #include "src/vm-state-inl.h" | 15 #include "src/vm-state-inl.h" |
17 | 16 |
18 namespace v8 { | 17 namespace v8 { |
19 namespace internal { | 18 namespace internal { |
20 | 19 |
21 RUNTIME_FUNCTION(Runtime_CompileLazy) { | 20 RUNTIME_FUNCTION(Runtime_CompileLazy) { |
22 HandleScope scope(isolate); | 21 HandleScope scope(isolate); |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 DCHECK(is_valid_language_mode(args.smi_at(4))); | 436 DCHECK(is_valid_language_mode(args.smi_at(4))); |
438 LanguageMode language_mode = static_cast<LanguageMode>(args.smi_at(4)); | 437 LanguageMode language_mode = static_cast<LanguageMode>(args.smi_at(4)); |
439 DCHECK(args[5]->IsSmi()); | 438 DCHECK(args[5]->IsSmi()); |
440 Handle<SharedFunctionInfo> outer_info(args.at<JSFunction>(2)->shared(), | 439 Handle<SharedFunctionInfo> outer_info(args.at<JSFunction>(2)->shared(), |
441 isolate); | 440 isolate); |
442 return CompileGlobalEval(isolate, args.at<String>(1), outer_info, | 441 return CompileGlobalEval(isolate, args.at<String>(1), outer_info, |
443 args.at<Object>(3), language_mode, args.smi_at(5)); | 442 args.at<Object>(3), language_mode, args.smi_at(5)); |
444 } | 443 } |
445 } | 444 } |
446 } // namespace v8::internal | 445 } // namespace v8::internal |
OLD | NEW |