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

Side by Side Diff: src/runtime/runtime-compiler.cc

Issue 1293053004: Remove grab-bag includes of v8.h from runtime entries. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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 | « src/runtime/runtime-collections.cc ('k') | src/runtime/runtime-date.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/runtime/runtime-utils.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-inl.h" 10 #include "src/frames-inl.h"
11 #include "src/full-codegen/full-codegen.h" 11 #include "src/full-codegen/full-codegen.h"
12 #include "src/messages.h" 12 #include "src/messages.h"
13 #include "src/runtime/runtime-utils.h"
14 #include "src/v8threads.h" 13 #include "src/v8threads.h"
15 #include "src/vm-state-inl.h" 14 #include "src/vm-state-inl.h"
16 15
17 namespace v8 { 16 namespace v8 {
18 namespace internal { 17 namespace internal {
19 18
20 RUNTIME_FUNCTION(Runtime_CompileLazy) { 19 RUNTIME_FUNCTION(Runtime_CompileLazy) {
21 HandleScope scope(isolate); 20 HandleScope scope(isolate);
22 DCHECK(args.length() == 1); 21 DCHECK(args.length() == 1);
23 CONVERT_ARG_HANDLE_CHECKED(JSFunction, function, 0); 22 CONVERT_ARG_HANDLE_CHECKED(JSFunction, function, 0);
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 DCHECK(is_valid_language_mode(args.smi_at(3))); 433 DCHECK(is_valid_language_mode(args.smi_at(3)));
435 LanguageMode language_mode = static_cast<LanguageMode>(args.smi_at(3)); 434 LanguageMode language_mode = static_cast<LanguageMode>(args.smi_at(3));
436 DCHECK(args[4]->IsSmi()); 435 DCHECK(args[4]->IsSmi());
437 Handle<SharedFunctionInfo> outer_info(args.at<JSFunction>(2)->shared(), 436 Handle<SharedFunctionInfo> outer_info(args.at<JSFunction>(2)->shared(),
438 isolate); 437 isolate);
439 return CompileGlobalEval(isolate, args.at<String>(1), outer_info, 438 return CompileGlobalEval(isolate, args.at<String>(1), outer_info,
440 language_mode, args.smi_at(4)); 439 language_mode, args.smi_at(4));
441 } 440 }
442 } // namespace internal 441 } // namespace internal
443 } // namespace v8 442 } // namespace v8
OLDNEW
« no previous file with comments | « src/runtime/runtime-collections.cc ('k') | src/runtime/runtime-date.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698