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

Side by Side Diff: src/runtime/runtime.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/json-stringifier.h ('k') | src/runtime/runtime-array.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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.h"
6 6
7 #include "src/runtime/runtime.h" 7 #include "src/handles-inl.h"
8 #include "src/heap/heap.h"
9 #include "src/isolate.h"
8 #include "src/runtime/runtime-utils.h" 10 #include "src/runtime/runtime-utils.h"
9 11
10 namespace v8 { 12 namespace v8 {
11 namespace internal { 13 namespace internal {
12 14
13 // Header of runtime functions. 15 // Header of runtime functions.
14 #define F(name, number_of_args, result_size) \ 16 #define F(name, number_of_args, result_size) \
15 Object* Runtime_##name(int args_length, Object** args_object, \ 17 Object* Runtime_##name(int args_length, Object** args_object, \
16 Isolate* isolate); 18 Isolate* isolate);
17 FOR_EACH_INTRINSIC_RETURN_OBJECT(F) 19 FOR_EACH_INTRINSIC_RETURN_OBJECT(F)
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 return &(kIntrinsicFunctions[static_cast<int>(id)]); 91 return &(kIntrinsicFunctions[static_cast<int>(id)]);
90 } 92 }
91 93
92 94
93 std::ostream& operator<<(std::ostream& os, Runtime::FunctionId id) { 95 std::ostream& operator<<(std::ostream& os, Runtime::FunctionId id) {
94 return os << Runtime::FunctionForId(id)->name; 96 return os << Runtime::FunctionForId(id)->name;
95 } 97 }
96 98
97 } // namespace internal 99 } // namespace internal
98 } // namespace v8 100 } // namespace v8
OLDNEW
« no previous file with comments | « src/json-stringifier.h ('k') | src/runtime/runtime-array.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698