summaryrefslogtreecommitdiff
path: root/ops/fast_call.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ops/fast_call.rs')
-rw-r--r--ops/fast_call.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/ops/fast_call.rs b/ops/fast_call.rs
index f2ed8cb2d..1d6bfa1fa 100644
--- a/ops/fast_call.rs
+++ b/ops/fast_call.rs
@@ -403,7 +403,9 @@ fn q_fast_ty(v: &FastValue) -> Quote {
FastValue::F64 => q!({ f64 }),
FastValue::Bool => q!({ bool }),
FastValue::V8Value => q!({ v8::Local<v8::Value> }),
- FastValue::Uint8Array | FastValue::Uint32Array => unreachable!(),
+ FastValue::Uint8Array
+ | FastValue::Uint32Array
+ | FastValue::SeqOneByteString => unreachable!(),
}
}
@@ -421,6 +423,7 @@ fn q_fast_ty_variant(v: &FastValue) -> Quote {
FastValue::V8Value => q!({ V8Value }),
FastValue::Uint8Array => q!({ TypedArray(CType::Uint8) }),
FastValue::Uint32Array => q!({ TypedArray(CType::Uint32) }),
+ FastValue::SeqOneByteString => q!({ SeqOneByteString }),
}
}