From: erik.corry@gmail.com Date: Fri, 7 May 2010 20:31:24 +0000 (+0000) Subject: Mark a function in assembler-x64-inl.h inline. X-Git-Tag: upstream/4.7.83~21840 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=429f0065fe474569e017eb0d464a22b2ca82a3df;p=platform%2Fupstream%2Fv8.git Mark a function in assembler-x64-inl.h inline. Without this annotation, it can be multiply-defined when it is included in multiple source files. This is a commit for evanm@chromium.org. See http://codereview.chromium.org/2044004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4619 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/x64/assembler-x64-inl.h b/src/x64/assembler-x64-inl.h index c9ab627..be7cfe0 100644 --- a/src/x64/assembler-x64-inl.h +++ b/src/x64/assembler-x64-inl.h @@ -34,7 +34,7 @@ namespace v8 { namespace internal { -Condition NegateCondition(Condition cc) { +inline Condition NegateCondition(Condition cc) { return static_cast(cc ^ 1); }