Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(647)

Side by Side Diff: src/compiler-intrinsics.h

Issue 426233002: Land the Fan (disabled) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback, rebase and "git cl format" Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/compiler.cc ('k') | src/compiler/arm/code-generator-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_INTRINSICS_H_ 5 #ifndef V8_COMPILER_INTRINSICS_H_
6 #define V8_COMPILER_INTRINSICS_H_ 6 #define V8_COMPILER_INTRINSICS_H_
7 7
8 #include "src/base/macros.h"
9
8 namespace v8 { 10 namespace v8 {
9 namespace internal { 11 namespace internal {
10 12
11 class CompilerIntrinsics { 13 class CompilerIntrinsics {
12 public: 14 public:
13 // Returns number of zero bits preceding least significant 1 bit. 15 // Returns number of zero bits preceding least significant 1 bit.
14 // Undefined for zero value. 16 // Undefined for zero value.
15 INLINE(static int CountTrailingZeros(uint32_t value)); 17 INLINE(static int CountTrailingZeros(uint32_t value));
16 18
17 // Returns number of zero bits following most significant 1 bit. 19 // Returns number of zero bits following most significant 1 bit.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 return value; 64 return value;
63 } 65 }
64 66
65 #else 67 #else
66 #error Unsupported compiler 68 #error Unsupported compiler
67 #endif 69 #endif
68 70
69 } } // namespace v8::internal 71 } } // namespace v8::internal
70 72
71 #endif // V8_COMPILER_INTRINSICS_H_ 73 #endif // V8_COMPILER_INTRINSICS_H_
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/compiler/arm/code-generator-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698