Misc fixes.
This commit is contained in:
@@ -592,7 +592,7 @@ int Translate_CALL_TRUE(TranslationContext& ctx, Instr* i) {
|
||||
}
|
||||
|
||||
uint32_t IntCode_CALL_INDIRECT_XX(IntCodeState& ics, const IntCode* i, uint32_t reg) {
|
||||
uint64_t target = ics.rf[reg].u64;
|
||||
uint64_t target = ics.rf[reg].u32;
|
||||
|
||||
// Check if return address - if so, return.
|
||||
if (target == ics.return_address) {
|
||||
|
||||
@@ -1455,8 +1455,6 @@ Value* FunctionBuilder::Splat(Value* value, TypeName target_type) {
|
||||
Value* FunctionBuilder::Permute(
|
||||
Value* control, Value* value1, Value* value2, TypeName part_type) {
|
||||
ASSERT_TYPES_EQUAL(value1, value2);
|
||||
// For now.
|
||||
XEASSERT(part_type == INT32_TYPE || part_type == FLOAT32_TYPE);
|
||||
|
||||
// TODO(benvanik): could do some of this as constants.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user