~ubuntu-branches/debian/squeeze/stella/squeeze

« back to all changes in this revision

Viewing changes to src/debugger/ShiftLeftExpression.hxx

  • Committer: Bazaar Package Importer
  • Author(s): Luca Falavigna, Franczen Attila, Luca Falavigna
  • Date: 2008-11-08 12:04:12 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20081108120412-w6xq87vzgokstfey
Tags: 2.6.1-0ubuntu1
[ Franczen Attila ]
* New upstream release (LP: #183571).
* Updated policy to 3.8.0.

[ Luca Falavigna ]
* debian/patches/gcc-4.3: fix FTBFS with gcc-4.3 compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//============================================================================
2
 
//
3
 
//   SSSS    tt          lll  lll       
4
 
//  SS  SS   tt           ll   ll        
5
 
//  SS     tttttt  eeee   ll   ll   aaaa 
6
 
//   SSSS    tt   ee  ee  ll   ll      aa
7
 
//      SS   tt   eeeeee  ll   ll   aaaaa  --  "An Atari 2600 VCS Emulator"
8
 
//  SS  SS   tt   ee      ll   ll  aa  aa
9
 
//   SSSS     ttt  eeeee llll llll  aaaaa
10
 
//
11
 
// Copyright (c) 1995-2005 by Bradford W. Mott and the Stella team
12
 
//
13
 
// See the file "license" for information on usage and redistribution of
14
 
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
15
 
//
16
 
// $Id: ShiftLeftExpression.hxx,v 1.2 2005/07/27 01:36:51 urchlay Exp $
17
 
//============================================================================
18
 
 
19
 
#ifndef SHIFTLEFT_EXPRESSION_HXX
20
 
#define SHIFTLEFT_EXPRESSION_HXX
21
 
 
22
 
#include "bspf.hxx"
23
 
#include "Expression.hxx"
24
 
 
25
 
/**
26
 
  @author  B. Watson
27
 
  @version $Id: ShiftLeftExpression.hxx,v 1.2 2005/07/27 01:36:51 urchlay Exp $
28
 
*/
29
 
class ShiftLeftExpression : public Expression
30
 
{
31
 
  public:
32
 
    ShiftLeftExpression(Expression *left, Expression *right);
33
 
    uInt16 evaluate() { return myLHS->evaluate() << myRHS->evaluate(); }
34
 
};
35
 
 
36
 
#endif
37