| 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 "src/arguments.h" | 7 #include "src/arguments.h" |
| 8 #include "src/asmjs/asm-js.h" | 8 #include "src/asmjs/asm-js.h" |
| 9 #include "src/compiler-dispatcher/optimizing-compile-dispatcher.h" |
| 9 #include "src/compiler.h" | 10 #include "src/compiler.h" |
| 10 #include "src/deoptimizer.h" | 11 #include "src/deoptimizer.h" |
| 11 #include "src/frames-inl.h" | 12 #include "src/frames-inl.h" |
| 12 #include "src/full-codegen/full-codegen.h" | 13 #include "src/full-codegen/full-codegen.h" |
| 13 #include "src/isolate-inl.h" | 14 #include "src/isolate-inl.h" |
| 14 #include "src/messages.h" | 15 #include "src/messages.h" |
| 15 #include "src/v8threads.h" | 16 #include "src/v8threads.h" |
| 16 #include "src/vm-state-inl.h" | 17 #include "src/vm-state-inl.h" |
| 17 | 18 |
| 18 namespace v8 { | 19 namespace v8 { |
| (...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 DCHECK(is_valid_language_mode(args.smi_at(3))); | 442 DCHECK(is_valid_language_mode(args.smi_at(3))); |
| 442 LanguageMode language_mode = static_cast<LanguageMode>(args.smi_at(3)); | 443 LanguageMode language_mode = static_cast<LanguageMode>(args.smi_at(3)); |
| 443 DCHECK(args[4]->IsSmi()); | 444 DCHECK(args[4]->IsSmi()); |
| 444 Handle<SharedFunctionInfo> outer_info(args.at<JSFunction>(2)->shared(), | 445 Handle<SharedFunctionInfo> outer_info(args.at<JSFunction>(2)->shared(), |
| 445 isolate); | 446 isolate); |
| 446 return CompileGlobalEval(isolate, args.at<String>(1), outer_info, | 447 return CompileGlobalEval(isolate, args.at<String>(1), outer_info, |
| 447 language_mode, args.smi_at(4), args.smi_at(5)); | 448 language_mode, args.smi_at(4), args.smi_at(5)); |
| 448 } | 449 } |
| 449 } // namespace internal | 450 } // namespace internal |
| 450 } // namespace v8 | 451 } // namespace v8 |
| OLD | NEW |