It's not legal to fold a load from a narrower stack slot into a wider instruction...
[llvm/avr.git] / lib / Debugger / SourceLanguage-CPlusPlus.cpp
blobce94ff4a4cb2c4c6a9d51b3affa8a9c3cd9b9b43
1 //===-- SourceLanguage-CPlusPlus.cpp - C++ SourceLanguage impl ------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file implements the SourceLanguage class for the C++ language.
12 //===----------------------------------------------------------------------===//
14 #include "llvm/Debugger/SourceLanguage.h"
15 using namespace llvm;
17 #if 0
18 namespace {
19 struct CPPSL : public SourceLanguage {
20 } TheCPlusPlusLanguageInstance;
22 #endif
24 const SourceLanguage &SourceLanguage::getCPlusPlusInstance() {
25 return get(0); // We don't have an implementation for C yet fall back on
26 // generic