1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/lib
Chris Lattner 0bb2828efb Fix a nasty order of evaluation bug that Gabor Greif ran into. Here's an
explanation from IRC:

	|sabre|	I think it's an order of evaluation thing
	|sabre|	for me, the RHS of the assignment is evaluated first
	|sabre|	getTypeDescription checks to see if ConcreteTypeDescription[Ty] contains anything
	|sabre|	since it doesn't, it computes and returns the value
	|sabre|	this gets put into the map.
	|sabre|	For you, the LHS is evaluated first.
	|sabre|	Map[Ty] (aka ConcreteTypeDescriptions[Ty]) inserts an empty string into the map, returning a reference
	|sabre|	getTypeDesc then sees the empty string in the map
	|sabre|	and returns it
	|sabre|	bork :)

llvm-svn: 20394
2005-03-02 03:54:43 +00:00
..
Analysis Fix spelling, patch contributed by Gabor Greif 2005-02-27 06:15:51 +00:00
AsmParser add more checking 2005-02-24 05:25:17 +00:00
Bytecode Fix spelling, patch contributed by Gabor Greif! 2005-02-27 06:18:25 +00:00
CodeGen Lower llvm.isunordered(a, b) into a != a | b != b. 2005-03-01 02:07:58 +00:00
Debugger Correct the comments and file header. 2004-12-23 21:16:46 +00:00
ExecutionEngine Use const iterators where possible. Patch by Evan Jones! 2005-02-27 19:06:10 +00:00
Linker Add support for ".so" files compiled with LLVM which contain LLVM bytecode. 2005-02-19 18:30:29 +00:00
Support Remove some stuff I checked in accidentally 2005-02-27 04:32:35 +00:00
System Fix silly mistake. 2005-02-20 02:48:51 +00:00
Target Remove tabs from file. 2005-02-28 19:36:15 +00:00
Transforms Fixed the following LSR bugs: 2005-03-01 03:46:11 +00:00
VMCore Fix a nasty order of evaluation bug that Gabor Greif ran into. Here's an 2005-03-02 03:54:43 +00:00
Makefile Add the Linker library 2004-11-14 21:54:41 +00:00