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

Side by Side Diff: src/ast.cc

Issue 6880312: Remove unused constructor BinaryOperation(Assignment* compound_assignment). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ast.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 case Token::DIV: 330 case Token::DIV:
331 case Token::MOD: 331 case Token::MOD:
332 return true; 332 return true;
333 default: 333 default:
334 UNREACHABLE(); 334 UNREACHABLE();
335 } 335 }
336 return false; 336 return false;
337 } 337 }
338 338
339 339
340 BinaryOperation::BinaryOperation(Assignment* assignment) {
341 ASSERT(assignment->is_compound());
342 op_ = assignment->binary_op();
343 left_ = assignment->target();
344 right_ = assignment->value();
345 pos_ = assignment->position();
346 }
347
348
349 // ---------------------------------------------------------------------------- 340 // ----------------------------------------------------------------------------
350 // Inlining support 341 // Inlining support
351 342
352 bool Declaration::IsInlineable() const { 343 bool Declaration::IsInlineable() const {
353 UNREACHABLE(); 344 UNREACHABLE();
354 return false; 345 return false;
355 } 346 }
356 347
357 348
358 bool TargetCollector::IsInlineable() const { 349 bool TargetCollector::IsInlineable() const {
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
1145 int pos) 1136 int pos)
1146 : label_(label), 1137 : label_(label),
1147 statements_(statements), 1138 statements_(statements),
1148 position_(pos), 1139 position_(pos),
1149 compare_type_(NONE), 1140 compare_type_(NONE),
1150 compare_id_(AstNode::GetNextId()), 1141 compare_id_(AstNode::GetNextId()),
1151 entry_id_(AstNode::GetNextId()) { 1142 entry_id_(AstNode::GetNextId()) {
1152 } 1143 }
1153 1144
1154 } } // namespace v8::internal 1145 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ast.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698