| Index: src/ast.cc
|
| diff --git a/src/ast.cc b/src/ast.cc
|
| index 5141a382f00100ec8dd3ab4f883fcae53a90e3ef..581eb85e6fe9dd4cb5e32592b7207cae900ba8f6 100644
|
| --- a/src/ast.cc
|
| +++ b/src/ast.cc
|
| @@ -234,6 +234,11 @@ LanguageMode FunctionLiteral::language_mode() const {
|
| }
|
|
|
|
|
| +AsmMode FunctionLiteral::asm_mode() const {
|
| + return scope()->asm_mode();
|
| +}
|
| +
|
| +
|
| bool FunctionLiteral::NeedsHomeObject(Expression* expr) {
|
| if (expr == nullptr || !expr->IsFunctionLiteral()) return false;
|
| DCHECK_NOT_NULL(expr->AsFunctionLiteral()->scope());
|
|
|