Changes to get mac building the js2 library

This commit is contained in:
rginda%netscape.com 2001-02-08 23:05:53 +00:00
Родитель 0220e79ea9
Коммит ff2bfe5809
3 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -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;

Двоичные данные
js2/src/macbuild/JS2.mcp

Двоичный файл не отображается.

Просмотреть файл

@ -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;
};