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

Side by Side Diff: src/compiler/js-inlining.h

Issue 1321223002: [turbofan] Remove obsolete unique.h includes in TurboFan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-includes-isolate-2
Patch Set: Rebased. Created 5 years, 3 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/compiler/js-graph.h ('k') | src/compiler/js-inlining.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 #ifndef V8_COMPILER_JS_INLINING_H_ 5 #ifndef V8_COMPILER_JS_INLINING_H_
6 #define V8_COMPILER_JS_INLINING_H_ 6 #define V8_COMPILER_JS_INLINING_H_
7 7
8 #include "src/compiler/js-graph.h" 8 #include "src/compiler/js-graph.h"
9 #include "src/compiler/graph-reducer.h" 9 #include "src/compiler/graph-reducer.h"
10 10
11 namespace v8 { 11 namespace v8 {
12 namespace internal { 12 namespace internal {
13
14 // Forward declarations.
15 class CompilationInfo;
16
13 namespace compiler { 17 namespace compiler {
14 18
19 // Forward declarations.
15 class JSCallFunctionAccessor; 20 class JSCallFunctionAccessor;
16 21
17 class JSInliner final : public AdvancedReducer { 22 class JSInliner final : public AdvancedReducer {
18 public: 23 public:
19 enum Mode { kRestrictedInlining, kGeneralInlining }; 24 enum Mode { kRestrictedInlining, kGeneralInlining };
20 25
21 JSInliner(Editor* editor, Mode mode, Zone* local_zone, CompilationInfo* info, 26 JSInliner(Editor* editor, Mode mode, Zone* local_zone, CompilationInfo* info,
22 JSGraph* jsgraph) 27 JSGraph* jsgraph)
23 : AdvancedReducer(editor), 28 : AdvancedReducer(editor),
24 mode_(mode), 29 mode_(mode),
(...skipping 15 matching lines...) Expand all
40 45
41 Reduction InlineCall(Node* call, Node* context, Node* frame_state, 46 Reduction InlineCall(Node* call, Node* context, Node* frame_state,
42 Node* start, Node* end); 47 Node* start, Node* end);
43 }; 48 };
44 49
45 } // namespace compiler 50 } // namespace compiler
46 } // namespace internal 51 } // namespace internal
47 } // namespace v8 52 } // namespace v8
48 53
49 #endif // V8_COMPILER_JS_INLINING_H_ 54 #endif // V8_COMPILER_JS_INLINING_H_
OLDNEW
« no previous file with comments | « src/compiler/js-graph.h ('k') | src/compiler/js-inlining.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698