Last active
December 5, 2015 19:39
-
-
Save gskachkov/3852544d25d19073ecd2 to your computer and use it in GitHub Desktop.
Error in GTK+
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ------------------------------ SuperNode ------------------------------------- | |
RegisterID* SuperNode::emitBytecode(BytecodeGenerator& generator, RegisterID* dst) | |
{ | |
if (dst == generator.ignoredResult()) | |
return 0; | |
RegisterID* scopeId; | |
if (generator.isDerivedConstructorContext()) { | |
scopeId = generator.emitLoadDerivedConstructorFromArrowFunctionLexicalEnvironment(); | |
} else { | |
RegisterID callee; | |
callee.setIndex(JSStack::Callee); | |
scopeId = &callee; | |
} | |
return generator.emitGetById(generator.finalDestination(dst), scopeId, generator.propertyNames().underscoreProto); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RegisterID* SuperNode::emitBytecode(BytecodeGenerator& generator, RegisterID* dst) | |
{ | |
if (dst == generator.ignoredResult()) | |
return 0; | |
RegisterID callee; | |
callee.setIndex(JSStack::Callee); | |
return generator.emitGetById(generator.finalDestination(dst), &callee, generator.propertyNames().underscoreProto); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ------------------------------ SuperNode ------------------------------------- | |
RegisterID* SuperNode::emitBytecode(BytecodeGenerator& generator, RegisterID* dst) | |
{ | |
if (dst == generator.ignoredResult()) | |
return 0; | |
RegisterID* scopeId; | |
if (generator.isDerivedConstructorContext()) { | |
scopeId = generator.emitLoadDerivedConstructorFromArrowFunctionLexicalEnvironment(); | |
} else { | |
// RegisterID callee; | |
// scopeId = &callee; | |
scopeId = new RegisterID(); | |
scopeId->setIndex(JSStack::Callee); | |
} | |
return generator.emitGetById(generator.finalDestination(dst), scopeId, generator.propertyNames().underscoreProto); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment