Index: src/full-codegen.h |
diff --git a/src/full-codegen.h b/src/full-codegen.h |
index 72d343409e0f5504cd72676d923f3459e219072b..6e0ac6253c28107adab5d2cbf0c4949ef00247c0 100644 |
--- a/src/full-codegen.h |
+++ b/src/full-codegen.h |
@@ -667,7 +667,7 @@ class FullCodeGenerator: public AstVisitor { |
loop_depth_--; |
} |
- MacroAssembler* masm() { return masm_; } |
+ MacroAssembler* masm() const { return masm_; } |
class ExpressionContext; |
const ExpressionContext* context() { return context_; } |
@@ -711,6 +711,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<FixedArray> handler_table() { return handler_table_; } |
struct BailoutEntry { |