OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c1602d
)
[WebAssembly] DYNAMIC_STACKALLOC returns a pointer.
author
Dan Gohman
<dan433584@gmail.com>
Mon, 24 Aug 2015 22:31:52 +0000
(22:31 +0000)
committer
Dan Gohman
<dan433584@gmail.com>
Mon, 24 Aug 2015 22:31:52 +0000
(22:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245893
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
b/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
index
c309db4
..
d3ab439
100644
(file)
--- a/
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
+++ b/
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
@@
-153,7
+153,7
@@
WebAssemblyTargetLowering::WebAssemblyTargetLowering(
// Dynamic stack allocation: use the default expansion.
setOperationAction(ISD::STACKSAVE, MVT::Other, Expand);
setOperationAction(ISD::STACKRESTORE, MVT::Other, Expand);
- setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT
::i32
, Expand);
+ setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT
Ptr
, Expand);
}
FastISel *WebAssemblyTargetLowering::createFastISel(