Revision: 23331
Author:   [email protected]
Date:     Mon Aug 25 06:57:13 2014 UTC
Log: Correctly forward-declare inline function headers in generic-node.h

[email protected], [email protected]

Review URL: https://codereview.chromium.org/488363003
https://code.google.com/p/v8/source/detail?r=23331

Modified:
 /branches/bleeding_edge/src/compiler/generic-node.h
 /branches/bleeding_edge/src/compiler/node-properties-inl.h
 /branches/bleeding_edge/src/compiler/simplified-operator-reducer.cc
 /branches/bleeding_edge/test/cctest/compiler/test-run-machops.cc

=======================================
--- /branches/bleeding_edge/src/compiler/generic-node.h Wed Aug 20 13:05:03 2014 UTC +++ /branches/bleeding_edge/src/compiler/generic-node.h Mon Aug 25 06:57:13 2014 UTC
@@ -43,9 +43,9 @@
   S* InputAt(int index) const {
     return static_cast<S*>(GetInputRecordPtr(index)->to);
   }
-  void ReplaceInput(int index, GenericNode* new_input);
-  void AppendInput(Zone* zone, GenericNode* new_input);
-  void InsertInput(Zone* zone, int index, GenericNode* new_input);
+  inline void ReplaceInput(int index, GenericNode* new_input);
+  inline void AppendInput(Zone* zone, GenericNode* new_input);
+  inline void InsertInput(Zone* zone, int index, GenericNode* new_input);

   int UseCount() { return use_count_; }
   S* UseAt(int index) {
@@ -59,7 +59,7 @@
   inline void ReplaceUses(GenericNode* replace_to);
   template <class UnaryPredicate>
   inline void ReplaceUsesIf(UnaryPredicate pred, GenericNode* replace_to);
-  void RemoveAllInputs();
+  inline void RemoveAllInputs();

   void TrimInputCount(int input_count);

@@ -127,8 +127,8 @@
     }
   }

-  void AppendUse(Use* use);
-  void RemoveUse(Use* use);
+  inline void AppendUse(Use* use);
+  inline void RemoveUse(Use* use);

   void* operator new(size_t, void* location) { return location; }

=======================================
--- /branches/bleeding_edge/src/compiler/node-properties-inl.h Thu Aug 21 11:56:46 2014 UTC +++ /branches/bleeding_edge/src/compiler/node-properties-inl.h Mon Aug 25 06:57:13 2014 UTC
@@ -8,6 +8,7 @@
 #include "src/v8.h"

 #include "src/compiler/common-operator.h"
+#include "src/compiler/generic-node-inl.h"
 #include "src/compiler/node-properties.h"
 #include "src/compiler/opcodes.h"
 #include "src/compiler/operator.h"
=======================================
--- /branches/bleeding_edge/src/compiler/simplified-operator-reducer.cc Fri Aug 22 04:47:55 2014 UTC +++ /branches/bleeding_edge/src/compiler/simplified-operator-reducer.cc Mon Aug 25 06:57:13 2014 UTC
@@ -2,6 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.

+#include "src/compiler/generic-node-inl.h"
 #include "src/compiler/js-graph.h"
 #include "src/compiler/node-matchers.h"
 #include "src/compiler/simplified-operator-reducer.h"
=======================================
--- /branches/bleeding_edge/test/cctest/compiler/test-run-machops.cc Wed Aug 20 04:01:00 2014 UTC +++ /branches/bleeding_edge/test/cctest/compiler/test-run-machops.cc Mon Aug 25 06:57:13 2014 UTC
@@ -6,6 +6,7 @@
 #include <limits>

 #include "src/base/bits.h"
+#include "src/compiler/generic-node-inl.h"
 #include "test/cctest/cctest.h"
 #include "test/cctest/compiler/codegen-tester.h"
 #include "test/cctest/compiler/value-helper.h"

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to