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

Unified Diff: src/runtime/runtime.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, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/hydrogen.cc ('k') | src/runtime/runtime-internal.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime/runtime.h
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index e2ee5bf5a825fbb2cd60e3dc32b36a0297e91002..575839d6e67d35ac123a9aa42f06ac24b797608a 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -88,6 +88,8 @@ namespace internal {
F(NotifyContextDisposed, 0, 1) \
F(ThrowIteratorResultNotAnObject, 1, 1) \
F(IncrementStatsCounter, 1, 1) \
+ F(Likely, 1, 1) \
+ F(Unlikely, 1, 1) \
\
/* Array join support */ \
F(PushIfAbsent, 2, 1) \
« no previous file with comments | « src/hydrogen.cc ('k') | src/runtime/runtime-internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698