FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: Add trueish conversion for v128 types by MaxGraey · Pull Request #2135 · AssemblyScript/assemblyscript · GitHub

feat: Add trueish conversion for v128 types - #2135

Merged
MaxGraey merged 1 commit into
AssemblyScript:mainfrom
MaxGraey:v128-trueish
Nov 11, 2021
Merged

feat: Add trueish conversion for v128 types#2135
MaxGraey merged 1 commit into
AssemblyScript:mainfrom
MaxGraey:v128-trueish

Conversation

Copy link
Copy Markdown
Member

It allow do this now:

export function foo(x: v128): i32 {
  if (x) { // internally uses v128.any_true(x)
     return -1;
  }
  return 0;
}
  • I've read the contributing guidelines
  • I've added my name and email to the NOTICE file

MaxGraey merged commit 584bacf into AssemblyScript:main Nov 11, 2021
MaxGraey deleted the v128-trueish branch November 11, 2021 16:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL