Index: src/full-codegen.h |
diff --git a/src/full-codegen.h b/src/full-codegen.h |
index 3420ca9b9b4cf4d0397539e982100db4b44f9e3d..d558ae6f224a9ceef5636322af81714aa75a571b 100644 |
--- a/src/full-codegen.h |
+++ b/src/full-codegen.h |
@@ -715,7 +715,7 @@ class FullCodeGenerator: public AstVisitor { |
loop_depth_--; |
} |
- MacroAssembler* masm() { return masm_; } |
+ MacroAssembler* masm() const { return masm_; } |
class ExpressionContext; |
const ExpressionContext* context() { return context_; } |
@@ -759,6 +759,9 @@ class FullCodeGenerator: public AstVisitor { |
void PopulateDeoptimizationData(Handle<Code> code); |
void PopulateTypeFeedbackInfo(Handle<Code> code); |
+ bool MustCreateObjectLiteralWithRuntime(ObjectLiteral* expr) const; |
+ bool MustCreateArrayLiteralWithRuntime(ArrayLiteral* expr) const; |
+ |
Handle<HandlerTable> handler_table() { return handler_table_; } |
struct BailoutEntry { |