| Index: src/ast-inl.h
|
| ===================================================================
|
| --- src/ast-inl.h (revision 9808)
|
| +++ src/ast-inl.h (working copy)
|
| @@ -111,11 +111,21 @@
|
| }
|
|
|
|
|
| -bool FunctionLiteral::strict_mode() const {
|
| - return scope()->is_strict_mode();
|
| +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();
|
| +}
|
| +
|
| +
|
| } } // namespace v8::internal
|
|
|
| #endif // V8_AST_INL_H_
|
|
|