about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorJames Miller <james@aatch.net>2015-01-11 12:58:20 +1300
committerFelix S. Klock II <pnkfelix@pnkfx.org>2015-04-10 12:23:08 +0200
commit41dd35503a358b652cfbbf7fba499cbaf1234637 (patch)
tree02479899a1c7e3fa021bf26cf22fe8636c4b323d /src/libstd/sys/unix/stack_overflow.rs
parent6b95d8bed8afff7262ec5623677e320bf63d2230 (diff)
downloadrust-41dd35503a358b652cfbbf7fba499cbaf1234637.tar.gz
rust-41dd35503a358b652cfbbf7fba499cbaf1234637.zip
Implement `discriminant_value` intrinsic
Implements an intrinsic for extracting the value of the discriminant
enum variant values. For non-enum types, this returns zero, otherwise it
returns the value we use for discriminant comparisons. This means that
enum types that do not have a discriminant will also work in this
arrangement.

This is (at least part of) the work on Issue #24263
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions