Remove the virtual declaration from a couple of non-virtual JumpTarget
authorager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 23 Aug 2010 07:30:09 +0000 (07:30 +0000)
committerager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 23 Aug 2010 07:30:09 +0000 (07:30 +0000)
methods to avoid compiler warnings with some gcc versions.

Review URL: http://codereview.chromium.org/3170036

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5314 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/jump-target-heavy.h

index b2113a5..8cec869 100644 (file)
@@ -117,17 +117,17 @@ class JumpTarget : public ZoneObject {  // Shadows are dynamically allocated.
   // the target and the fall-through.
   virtual void Branch(Condition cc, Hint hint = no_hint);
   virtual void Branch(Condition cc, Result* arg, Hint hint = no_hint);
-  virtual void Branch(Condition cc,
-                      Result* arg0,
-                      Result* arg1,
-                      Hint hint = no_hint);
+  void Branch(Condition cc,
+              Result* arg0,
+              Result* arg1,
+              Hint hint = no_hint);
 
   // Bind a jump target.  If there is no current frame at the binding
   // site, there must be at least one frame reaching via a forward
   // jump.
   virtual void Bind();
   virtual void Bind(Result* arg);
-  virtual void Bind(Result* arg0, Result* arg1);
+  void Bind(Result* arg0, Result* arg1);
 
   // Emit a call to a jump target.  There must be a current frame at
   // the call.  The frame at the target is the same as the current