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

Unified Diff: src/full-codegen.cc

Issue 300103005: Split StringLiteral from Literal. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: number literals Created 6 years, 7 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/ast.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/full-codegen.cc
diff --git a/src/full-codegen.cc b/src/full-codegen.cc
index 6ae927c9018a16a5462f2448f5ae79bdc3e997a1..d3f99419a510f6a4cb5d3ae803360e357ea43881 100644
--- a/src/full-codegen.cc
+++ b/src/full-codegen.cc
@@ -195,6 +195,14 @@ void BreakableStatementChecker::VisitLiteral(Literal* expr) {
}
+void BreakableStatementChecker::VisitStringLiteral(StringLiteral* expr) {
+}
+
+
+void BreakableStatementChecker::VisitNumberLiteral(NumberLiteral* expr) {
+}
+
+
void BreakableStatementChecker::VisitRegExpLiteral(RegExpLiteral* expr) {
}
@@ -1522,6 +1530,16 @@ void FullCodeGenerator::VisitLiteral(Literal* expr) {
}
+void FullCodeGenerator::VisitStringLiteral(StringLiteral* expr) {
+ VisitLiteral(expr);
+}
+
+
+void FullCodeGenerator::VisitNumberLiteral(NumberLiteral* expr) {
+ VisitLiteral(expr);
+}
+
+
void FullCodeGenerator::VisitFunctionLiteral(FunctionLiteral* expr) {
Comment cmnt(masm_, "[ FunctionLiteral");
« no previous file with comments | « src/ast.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698