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

Unified Diff: src/rewriter.cc

Issue 18094: Fix a bunch of spelling mistakes :\ (Closed)
Patch Set: More fixes. Created 11 years, 11 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/regexp-macro-assembler-ia32.cc ('k') | src/runtime.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/rewriter.cc
diff --git a/src/rewriter.cc b/src/rewriter.cc
index f0d53b8e241a8e792ef0ae213a30a6a672b66fe4..956d3cb40f2868291905798b3148d565586e2335 100644
--- a/src/rewriter.cc
+++ b/src/rewriter.cc
@@ -282,7 +282,7 @@ void AstOptimizer::VisitAssignment(Assignment* node) {
case Token::INIT_VAR:
case Token::INIT_CONST:
case Token::ASSIGN:
- // Pure assigment copies the type from the value.
+ // Pure assignment copies the type from the value.
node->type()->CopyFrom(node->value()->type());
break;
case Token::ASSIGN_BIT_OR:
@@ -420,7 +420,7 @@ void AstOptimizer::VisitBinaryOperation(BinaryOperation* node) {
node->type()->SetAsLikelySmi();
}
if (node->type()->IsLikelySmi()) {
- // The type of this node changed to LIKELY_SMI. Propagate this knowlege
+ // The type of this node changed to LIKELY_SMI. Propagate this knowledge
// down through the nodes.
if (node->left()->type()->IsUnknown()) {
node->left()->type()->SetAsLikelySmi();
@@ -455,7 +455,7 @@ void AstOptimizer::VisitCompareOperation(CompareOperation* node) {
node->type()->SetAsLikelySmi();
}
if (node->type()->IsLikelySmi()) {
- // The type of this node changed to LIKELY_SMI. Propagate this knowlege
+ // The type of this node changed to LIKELY_SMI. Propagate this knowledge
// down through the nodes.
if (node->left()->type()->IsUnknown()) {
node->left()->type()->SetAsLikelySmi();
« no previous file with comments | « src/regexp-macro-assembler-ia32.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698