trivial diff: Aditi bug fix

Simon Taylor stayl at cs.mu.OZ.AU
Wed Mar 10 11:01:25 AEDT 1999


Estimated hours taken: 0.1

compiler/bytecode_data.m
	Fix reversed arguments in a call.


Index: bytecode_data.m
===================================================================
RCS file: /home/staff/zs/imp/mercury/compiler/bytecode_data.m,v
retrieving revision 1.1
diff -u -u -r1.1 bytecode_data.m
--- bytecode_data.m	1999/03/08 06:09:38	1.1
+++ bytecode_data.m	1999/03/09 23:36:15
@@ -105,7 +105,7 @@
 	( { IntBits > bytecode_int_bits } ->
 		{ error("size of int is larger than size of bytecode integer.")}
 	;
-		output_int(io__write_byte, bytecode_int_bits, IntVal)
+		output_int(bytecode_int_bits, IntVal)
 	).
 
 int_to_byte_list(IntVal, Bytes) :-
@@ -113,7 +113,7 @@
 	( IntBits > bytecode_int_bits ->
 		error("size of int is larger than size of bytecode integer.")
 	;
-		int_to_byte_list(IntVal, bytecode_int_bits, Bytes)
+		int_to_byte_list(bytecode_int_bits, IntVal, Bytes)
 	).
 
 :- pred output_int(int, int, io__state, io__state).



More information about the developers mailing list