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

Side by Side Diff: src/hydrogen.h

Issue 1048063002: Added %_Likely/%_Unlikely intrinsics (special cases of GCC's __builin_expect). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed feedback. Win fix. Created 5 years, 8 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
« no previous file with comments | « src/compiler/js-intrinsic-lowering.cc ('k') | src/hydrogen.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_HYDROGEN_H_ 5 #ifndef V8_HYDROGEN_H_
6 #define V8_HYDROGEN_H_ 6 #define V8_HYDROGEN_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/accessors.h" 10 #include "src/accessors.h"
(...skipping 2182 matching lines...) Expand 10 before | Expand all | Expand 10 after
2193 F(DebugBreakInOptimizedCode) \ 2193 F(DebugBreakInOptimizedCode) \
2194 F(StringCharCodeAt) \ 2194 F(StringCharCodeAt) \
2195 F(StringAdd) \ 2195 F(StringAdd) \
2196 F(SubString) \ 2196 F(SubString) \
2197 F(StringCompare) \ 2197 F(StringCompare) \
2198 F(RegExpExec) \ 2198 F(RegExpExec) \
2199 F(RegExpConstructResult) \ 2199 F(RegExpConstructResult) \
2200 F(GetFromCache) \ 2200 F(GetFromCache) \
2201 F(NumberToString) \ 2201 F(NumberToString) \
2202 F(DebugIsActive) \ 2202 F(DebugIsActive) \
2203 F(Likely) \
2204 F(Unlikely) \
2203 /* Typed Arrays */ \ 2205 /* Typed Arrays */ \
2204 F(TypedArrayInitialize) \ 2206 F(TypedArrayInitialize) \
2205 F(DataViewInitialize) \ 2207 F(DataViewInitialize) \
2206 F(MaxSmi) \ 2208 F(MaxSmi) \
2207 F(TypedArrayMaxSizeInHeap) \ 2209 F(TypedArrayMaxSizeInHeap) \
2208 F(ArrayBufferViewGetByteLength) \ 2210 F(ArrayBufferViewGetByteLength) \
2209 F(ArrayBufferViewGetByteOffset) \ 2211 F(ArrayBufferViewGetByteOffset) \
2210 F(TypedArrayGetLength) \ 2212 F(TypedArrayGetLength) \
2211 /* ArrayBuffer */ \ 2213 /* ArrayBuffer */ \
2212 F(ArrayBufferGetByteLength) \ 2214 F(ArrayBufferGetByteLength) \
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after
3033 } 3035 }
3034 3036
3035 private: 3037 private:
3036 HGraphBuilder* builder_; 3038 HGraphBuilder* builder_;
3037 }; 3039 };
3038 3040
3039 3041
3040 } } // namespace v8::internal 3042 } } // namespace v8::internal
3041 3043
3042 #endif // V8_HYDROGEN_H_ 3044 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/compiler/js-intrinsic-lowering.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698