We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e6ed42 commit 30729cfCopy full SHA for 30729cf
mozjs/src/jsval.rs
@@ -102,7 +102,7 @@ fn AssertGCPointerValid(bits: u64) {
102
103
#[cfg(target_pointer_width = "32")]
104
#[inline(always)]
105
-fn AssertIsGCPointerValid(bits: u64) {}
+fn AssertGCPointerValid(bits: u32) {}
106
107
#[cfg(target_pointer_width = "64")]
108
@@ -112,7 +112,7 @@ fn AssertGCPointerAlignment(bits: u64) {
112
113
114
115
-fn AssertGCPointerAlignment(bits: u64) {}
+fn AssertGCPointerAlignment(bits: u32) {}
116
117
118
pub fn Int32Value(i: i32) -> JSVal {
@@ -269,7 +269,6 @@ impl JSVal {
269
}
270
271
272
- #[cfg(target_pointer_width = "64")]
273
pub fn is_bigint(&self) -> bool {
274
self.toTag() == ValueTag::BIGINT as u64
275
0 commit comments