From: ager@chromium.org Date: Mon, 23 Aug 2010 07:30:09 +0000 (+0000) Subject: Remove the virtual declaration from a couple of non-virtual JumpTarget X-Git-Tag: upstream/4.7.83~21320 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c446a689611a6f2a1b9b0132e5c081c0acb90a9;p=platform%2Fupstream%2Fv8.git Remove the virtual declaration from a couple of non-virtual JumpTarget 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 --- diff --git a/src/jump-target-heavy.h b/src/jump-target-heavy.h index b2113a5..8cec869 100644 --- a/src/jump-target-heavy.h +++ b/src/jump-target-heavy.h @@ -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