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

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

Issue 662413002: Move some Runtime:: functions and remove runtime.h as include when unnecessary. (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-debug.cc ('k') | src/runtime/runtime-generator.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/accessors.h" 7 #include "src/accessors.h"
8 #include "src/arguments.h" 8 #include "src/arguments.h"
9 #include "src/compiler.h" 9 #include "src/compiler.h"
10 #include "src/deoptimizer.h" 10 #include "src/deoptimizer.h"
11 #include "src/frames.h" 11 #include "src/frames.h"
12 #include "src/runtime/runtime.h"
13 #include "src/runtime/runtime-utils.h" 12 #include "src/runtime/runtime-utils.h"
14 13
15 namespace v8 { 14 namespace v8 {
16 namespace internal { 15 namespace internal {
17 16
18 RUNTIME_FUNCTION(Runtime_IsSloppyModeFunction) { 17 RUNTIME_FUNCTION(Runtime_IsSloppyModeFunction) {
19 SealHandleScope shs(isolate); 18 SealHandleScope shs(isolate);
20 DCHECK(args.length() == 1); 19 DCHECK(args.length() == 1);
21 CONVERT_ARG_CHECKED(JSReceiver, callable, 0); 20 CONVERT_ARG_CHECKED(JSReceiver, callable, 0);
22 if (!callable->IsJSFunction()) { 21 if (!callable->IsJSFunction()) {
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 597
599 598
600 RUNTIME_FUNCTION(RuntimeReference_IsFunction) { 599 RUNTIME_FUNCTION(RuntimeReference_IsFunction) {
601 SealHandleScope shs(isolate); 600 SealHandleScope shs(isolate);
602 DCHECK(args.length() == 1); 601 DCHECK(args.length() == 1);
603 CONVERT_ARG_CHECKED(Object, obj, 0); 602 CONVERT_ARG_CHECKED(Object, obj, 0);
604 return isolate->heap()->ToBoolean(obj->IsJSFunction()); 603 return isolate->heap()->ToBoolean(obj->IsJSFunction());
605 } 604 }
606 } 605 }
607 } // namespace v8::internal 606 } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/runtime/runtime-debug.cc ('k') | src/runtime/runtime-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698