Reviewers: Mads Ager, Søren Gjesse,

Description:
Mark a function in a header as inline.

Without this annotation, it can be multiply-defined when it is
included in multiple source files.

Please review this at http://codereview.chromium.org/2044004/show

SVN Base: http://v8.googlecode.com/svn/trunk/

Affected files:
  M     src/x64/assembler-x64-inl.h


Index: src/x64/assembler-x64-inl.h
===================================================================
--- src/x64/assembler-x64-inl.h (revision 4588)
+++ src/x64/assembler-x64-inl.h (working copy)
@@ -34,7 +34,7 @@
 namespace v8 {
 namespace internal {

-Condition NegateCondition(Condition cc) {
+inline Condition NegateCondition(Condition cc) {
   return static_cast<Condition>(cc ^ 1);
 }



--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to