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

Side by Side Diff: src/full-codegen.cc

Issue 1125183008: [es6] Spread in array literals (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: cleanup Created 5 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
« no previous file with comments | « src/flag-definitions.h ('k') | src/hydrogen.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/ast.h" 7 #include "src/ast.h"
8 #include "src/ast-numbering.h" 8 #include "src/ast-numbering.h"
9 #include "src/code-factory.h" 9 #include "src/code-factory.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 } 260 }
261 } 261 }
262 262
263 263
264 void BreakableStatementChecker::VisitCompareOperation(CompareOperation* expr) { 264 void BreakableStatementChecker::VisitCompareOperation(CompareOperation* expr) {
265 Visit(expr->left()); 265 Visit(expr->left());
266 Visit(expr->right()); 266 Visit(expr->right());
267 } 267 }
268 268
269 269
270 void BreakableStatementChecker::VisitSpread(Spread* expr) { UNREACHABLE(); } 270 void BreakableStatementChecker::VisitSpread(Spread* expr) {
271 Visit(expr->expression());
272 }
271 273
272 274
273 void BreakableStatementChecker::VisitThisFunction(ThisFunction* expr) { 275 void BreakableStatementChecker::VisitThisFunction(ThisFunction* expr) {
274 } 276 }
275 277
276 278
277 void BreakableStatementChecker::VisitSuperReference(SuperReference* expr) {} 279 void BreakableStatementChecker::VisitSuperReference(SuperReference* expr) {}
278 280
279 281
280 #define __ ACCESS_MASM(masm()) 282 #define __ ACCESS_MASM(masm())
(...skipping 1352 matching lines...) Expand 10 before | Expand all | Expand 10 after
1633 } 1635 }
1634 codegen_->PrepareForBailoutForId(exit_id_, NO_REGISTERS); 1636 codegen_->PrepareForBailoutForId(exit_id_, NO_REGISTERS);
1635 codegen_->scope_ = saved_scope_; 1637 codegen_->scope_ = saved_scope_;
1636 } 1638 }
1637 1639
1638 1640
1639 #undef __ 1641 #undef __
1640 1642
1641 1643
1642 } } // namespace v8::internal 1644 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698