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

Side by Side Diff: src/ast.cc

Issue 132493002: [Sheriff] Revert "Templatise type representation" and "Fix Mac warnings". (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ast.h ('k') | src/code-stubs.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after
1134 } 1134 }
1135 1135
1136 1136
1137 CaseClause::CaseClause(Isolate* isolate, 1137 CaseClause::CaseClause(Isolate* isolate,
1138 Expression* label, 1138 Expression* label,
1139 ZoneList<Statement*>* statements, 1139 ZoneList<Statement*>* statements,
1140 int pos) 1140 int pos)
1141 : Expression(isolate, pos), 1141 : Expression(isolate, pos),
1142 label_(label), 1142 label_(label),
1143 statements_(statements), 1143 statements_(statements),
1144 compare_type_(Type::None(isolate)), 1144 compare_type_(Type::None(), isolate),
1145 compare_id_(AstNode::GetNextId(isolate)), 1145 compare_id_(AstNode::GetNextId(isolate)),
1146 entry_id_(AstNode::GetNextId(isolate)) { 1146 entry_id_(AstNode::GetNextId(isolate)) {
1147 } 1147 }
1148 1148
1149 1149
1150 #define REGULAR_NODE(NodeType) \ 1150 #define REGULAR_NODE(NodeType) \
1151 void AstConstructionVisitor::Visit##NodeType(NodeType* node) { \ 1151 void AstConstructionVisitor::Visit##NodeType(NodeType* node) { \
1152 increase_node_count(); \ 1152 increase_node_count(); \
1153 } 1153 }
1154 #define DONT_OPTIMIZE_NODE(NodeType) \ 1154 #define DONT_OPTIMIZE_NODE(NodeType) \
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
1262 OS::SNPrintF(buffer, "%d", Smi::cast(*value_)->value()); 1262 OS::SNPrintF(buffer, "%d", Smi::cast(*value_)->value());
1263 str = arr; 1263 str = arr;
1264 } else { 1264 } else {
1265 str = DoubleToCString(value_->Number(), buffer); 1265 str = DoubleToCString(value_->Number(), buffer);
1266 } 1266 }
1267 return isolate_->factory()->NewStringFromAscii(CStrVector(str)); 1267 return isolate_->factory()->NewStringFromAscii(CStrVector(str));
1268 } 1268 }
1269 1269
1270 1270
1271 } } // namespace v8::internal 1271 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ast.h ('k') | src/code-stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698