Skip to content

Commit 5dbcaab

Browse files
committed
fix llvm.expect and add test
1 parent 55cabe1 commit 5dbcaab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/library.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5116,8 +5116,8 @@ LibraryManager.library = {
51165116
return ret;
51175117
},
51185118

5119-
llvm_expect_i32__inline: function(x, y) {
5120-
return '((' + x + ')==(' + y + '))';
5119+
llvm_expect_i32__inline: function(val, expected) {
5120+
return '(' + val + ')';
51215121
},
51225122

51235123
llvm_lifetime_start: function() {},

0 commit comments

Comments
 (0)