Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Unified Diff: src/full-codegen.h

Issue 1037273002: Ensure object literal element boilerplates aren't modified. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Added comment and REBASE. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/full-codegen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698