Index: src/compiler/js-inlining.h |
diff --git a/src/compiler/js-inlining.h b/src/compiler/js-inlining.h |
index 87e6cc99669912a24a64265d96f062a281dad48f..0059b1c56c1c4ff2f0e07a3650715de793de0fb9 100644 |
--- a/src/compiler/js-inlining.h |
+++ b/src/compiler/js-inlining.h |
@@ -16,12 +16,16 @@ class JSCallFunctionAccessor; |
class JSInliner FINAL : public Reducer { |
public: |
- JSInliner(Zone* local_zone, CompilationInfo* info, JSGraph* jsgraph) |
- : local_zone_(local_zone), info_(info), jsgraph_(jsgraph) {} |
+ enum Mode { kBuiltinsInlining, kGeneralInlining }; |
+ |
+ JSInliner(Mode mode, Zone* local_zone, CompilationInfo* info, |
+ JSGraph* jsgraph) |
+ : mode_(mode), local_zone_(local_zone), info_(info), jsgraph_(jsgraph) {} |
Reduction Reduce(Node* node) FINAL; |
private: |
+ Mode const mode_; |
Zone* local_zone_; |
CompilationInfo* info_; |
JSGraph* jsgraph_; |