| Index: src/ast.h
|
| diff --git a/src/ast.h b/src/ast.h
|
| index 3fabfddec26fe91696b8c3990b22311fab183e46..97ef4ff5b74101a2169f6f9d963a868ae6462ad3 100644
|
| --- a/src/ast.h
|
| +++ b/src/ast.h
|
| @@ -2068,7 +2068,7 @@ class CompareOperation V8_FINAL : public Expression {
|
| op_(op),
|
| left_(left),
|
| right_(right),
|
| - combined_type_(Type::None(), isolate) {
|
| + combined_type_(Type::None(isolate)) {
|
| ASSERT(Token::IsCompareOp(op));
|
| }
|
|
|
| @@ -2296,6 +2296,8 @@ class FunctionLiteral V8_FINAL : public Expression {
|
| bool AllowsLazyCompilation();
|
| bool AllowsLazyCompilationWithoutContext();
|
|
|
| + void InitializeSharedInfo(Handle<Code> code);
|
| +
|
| Handle<String> debug_name() const {
|
| if (name_->length() > 0) return name_;
|
| return inferred_name();
|
| @@ -2306,6 +2308,9 @@ class FunctionLiteral V8_FINAL : public Expression {
|
| inferred_name_ = inferred_name;
|
| }
|
|
|
| + // shared_info may be null if it's not cached in full code.
|
| + Handle<SharedFunctionInfo> shared_info() { return shared_info_; }
|
| +
|
| bool pretenure() { return Pretenure::decode(bitfield_); }
|
| void set_pretenure() { bitfield_ |= Pretenure::encode(true); }
|
|
|
| @@ -2381,6 +2386,7 @@ class FunctionLiteral V8_FINAL : public Expression {
|
|
|
| private:
|
| Handle<String> name_;
|
| + Handle<SharedFunctionInfo> shared_info_;
|
| Scope* scope_;
|
| ZoneList<Statement*>* body_;
|
| Handle<String> inferred_name_;
|
|
|