| Index: src/ast.cc
|
| diff --git a/src/ast.cc b/src/ast.cc
|
| index d5282d24efd3ea4de114e4a95d7fd75ceac9e9ee..1429e2a437714408956b659ddebc41e4b462d629 100644
|
| --- a/src/ast.cc
|
| +++ b/src/ast.cc
|
| @@ -157,6 +157,21 @@ bool FunctionLiteral::AllowsLazyCompilation() {
|
| }
|
|
|
|
|
| +int FunctionLiteral::start_position() const {
|
| + return scope()->start_position();
|
| +}
|
| +
|
| +
|
| +int FunctionLiteral::end_position() const {
|
| + return scope()->end_position();
|
| +}
|
| +
|
| +
|
| +StrictModeFlag FunctionLiteral::strict_mode_flag() const {
|
| + return scope()->strict_mode_flag();
|
| +}
|
| +
|
| +
|
| ObjectLiteral::Property::Property(Literal* key, Expression* value) {
|
| emit_store_ = true;
|
| key_ = key;
|
|
|