mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 01:57:00 +00:00
Changes to get mac building the js2 library
This commit is contained in:
parent
0220e79ea9
commit
ff2bfe5809
@ -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.
@ -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;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user