-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8329331: Intrinsify Unsafe::setMemory #18555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
3e2aab6
2334b03
6eebcbd
7c73856
74c47e2
6e283bc
44c24ec
b17a1f4
401a2a9
c5cb30c
6ee69c8
3aa60a4
8bed156
b025318
fd6f04f
f81aaa9
b0ac857
95230e2
41ffcc3
b99499a
89db3eb
970c575
6e731c8
405e4e0
95b0a34
44cc91b
824fb60
80b5a0c
856464e
116d7dd
113aa90
7a1d67e
dccf6b6
dd0094e
1961624
c129016
1122b50
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -771,6 +771,10 @@ const TypeFunc* OptoRuntime::void_void_Type() { | |
| } | ||
|
|
||
|
|
||
| // Takes as parameters: | ||
| // void *dest | ||
| // long size | ||
| // uchar byte | ||
| const TypeFunc* OptoRuntime::make_setmemory_Type() { | ||
| // create input type (domain) | ||
| int num_args = 4; | ||
|
||
|
|
@@ -780,7 +784,7 @@ const TypeFunc* OptoRuntime::make_setmemory_Type() { | |
| fields[argp++] = TypePtr::NOTNULL; // dest | ||
| fields[argp++] = TypeLong::LONG; // size | ||
| fields[argp++] = Type::HALF; // size | ||
| fields[argp++] = TypeInt::INT; // bytevalue | ||
| fields[argp++] = TypeInt::UBYTE; // bytevalue | ||
| assert(argp == TypeFunc::Parms+argcnt, "correct decoding"); | ||
| const TypeTuple* domain = TypeTuple::make(TypeFunc::Parms+argcnt, fields); | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.