зеркало из https://github.com/mozilla/gecko-dev.git
Changes to get mac building the js2 library
This commit is contained in:
Родитель
0220e79ea9
Коммит
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;
|
||||
|
|
Двоичные данные
js2/src/macbuild/JS2.mcp
Двоичные данные
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;
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче