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

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

Issue 612023002: Split even more runtime functions into separate files. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « src/runtime/runtime.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/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.h"
13 #include "src/isolate-inl.h" 12 #include "src/isolate-inl.h"
14 #include "src/runtime/runtime.h" 13 #include "src/runtime/runtime.h"
15 #include "src/runtime/runtime-utils.h" 14 #include "src/runtime/runtime-utils.h"
16 #include "src/v8threads.h" 15 #include "src/v8threads.h"
17 #include "src/vm-state.h"
18 #include "src/vm-state-inl.h" 16 #include "src/vm-state-inl.h"
19 17
20 namespace v8 { 18 namespace v8 {
21 namespace internal { 19 namespace internal {
22 20
23 RUNTIME_FUNCTION(Runtime_CompileLazy) { 21 RUNTIME_FUNCTION(Runtime_CompileLazy) {
24 HandleScope scope(isolate); 22 HandleScope scope(isolate);
25 DCHECK(args.length() == 1); 23 DCHECK(args.length() == 1);
26 CONVERT_ARG_HANDLE_CHECKED(JSFunction, function, 0); 24 CONVERT_ARG_HANDLE_CHECKED(JSFunction, function, 0);
27 #ifdef DEBUG 25 #ifdef DEBUG
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 430
433 DCHECK(args[3]->IsSmi()); 431 DCHECK(args[3]->IsSmi());
434 DCHECK(args.smi_at(3) == SLOPPY || args.smi_at(3) == STRICT); 432 DCHECK(args.smi_at(3) == SLOPPY || args.smi_at(3) == STRICT);
435 StrictMode strict_mode = static_cast<StrictMode>(args.smi_at(3)); 433 StrictMode strict_mode = static_cast<StrictMode>(args.smi_at(3));
436 DCHECK(args[4]->IsSmi()); 434 DCHECK(args[4]->IsSmi());
437 return CompileGlobalEval(isolate, args.at<String>(1), args.at<Object>(2), 435 return CompileGlobalEval(isolate, args.at<String>(1), args.at<Object>(2),
438 strict_mode, args.smi_at(4)); 436 strict_mode, args.smi_at(4));
439 } 437 }
440 } 438 }
441 } // namespace v8::internal 439 } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/runtime/runtime.cc ('k') | src/runtime/runtime-date.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698