Changes to get mac building the js2 library

This commit is contained in:
rginda%netscape.com 2001-02-08 23:05:53 +00:00
parent 0220e79ea9
commit ff2bfe5809
3 changed files with 2 additions and 3 deletions

View File

@ -50,7 +50,6 @@ namespace ICG {
using namespace VM;
using namespace JSTypes;
using namespace JSClasses;
struct VariableList { // Maps from variable (parameter) name to a TypedRegister.
// But because we also want to map from a register number to
@ -155,7 +154,7 @@ namespace ICG {
class ICodeGenerator {
public:
friend ICodeModule;
friend class ICodeModule;
typedef enum { kNoFlags = 0, kIsTopLevel = 0x01, kIsStaticMethod = 0x02, kIsWithinWith = 0x04 } ICodeGeneratorFlags;
private:
InstructionStream *iCode;

Binary file not shown.

View File

@ -119,7 +119,7 @@ namespace JavaScript {
VariableBinding(uint32 pos, ExprNode *name, ExprNode *type,
ExprNode *initializer, bool constant):
ParseNode(pos), next(0), aliases(0), name(name), type(type),
initializer(initializer) {}
initializer(initializer), constant(constant) {}
void print(PrettyPrinter &f, bool printConst) const;
};