LLVM backend for 6502
Go to file
Ted Kremenek ff37ccc570 Removed ReadVal from SerializeTrait<T>, and also removed it from
Deserializer.

There were issues with Visual C++ barfing when instantiating
SerializeTrait<T> when "T" was an abstract class AND
SerializeTrait<T>::ReadVal was *never* called:

template <typename T>
struct SerializeTrait {
 <SNIP>
  static inline T ReadVal(Deserializer& D) { T::ReadVal(D); }
 <SNIP>
};

Visual C++ would complain about "T" being an abstract class, even
though ReadVal was never instantiated (although one of the other
member functions were).

Removing this from the trait is not a big deal.  It was used hardly
ever, and users who want "read-by-value" deserialization can simply
call the appropriate methods directly instead of relying on
trait-based-dispatch.  The trait dispatch for
serialization/deserialization is simply sugar in many cases (like this
one).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43624 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-01 22:23:34 +00:00
autoconf
bindings Fix ocaml bindings for picky linkers. :) 2007-10-12 19:48:13 +00:00
docs Add the start of chapter 6, still much to go. 2007-11-01 06:49:54 +00:00
examples
include Removed ReadVal from SerializeTrait<T>, and also removed it from 2007-11-01 22:23:34 +00:00
lib Removed ReadVal from SerializeTrait<T>, and also removed it from 2007-11-01 22:23:34 +00:00
projects
runtime
test Fix test/Transforms/DeadStoreElimination/PartialStore.ll, which had been 2007-11-01 05:29:16 +00:00
tools Fix PR1739. 2007-10-24 04:35:54 +00:00
utils switch some calls to SelectionDAG::getTargetNode to use 2007-10-24 06:25:09 +00:00
website
win32 Updated VC++ build system 2007-10-29 21:56:15 +00:00
Xcode Added SerializeAPInt.cpp and DeserializeAPInt.cpp to the XCode project. 2007-10-26 21:53:37 +00:00
build-for-llvm-top.sh
configure
CREDITS.TXT Adding myself 2007-10-11 18:54:49 +00:00
LICENSE.TXT
llvm.spec.in
Makefile
Makefile.common
Makefile.config.in
Makefile.rules
ModuleInfo.txt
README.txt

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for the Low Level 
Virtual Machine, a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments. 

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the HTML documentation provided in docs/index.html for further
assistance with LLVM.