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

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

Issue 2636913002: [liveedit] reimplement frame restarting. (Closed)
Patch Set: rebase Created 3 years, 10 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/external-reference-table.cc ('k') | src/globals.h » ('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/full-codegen/full-codegen.h" 5 #include "src/full-codegen/full-codegen.h"
6 6
7 #include "src/ast/ast-numbering.h" 7 #include "src/ast/ast-numbering.h"
8 #include "src/ast/ast.h" 8 #include "src/ast/ast.h"
9 #include "src/ast/prettyprinter.h" 9 #include "src/ast/prettyprinter.h"
10 #include "src/ast/scopes.h" 10 #include "src/ast/scopes.h"
(...skipping 1214 matching lines...) Expand 10 before | Expand all | Expand 10 after
1225 // Exception handling is not supported. 1225 // Exception handling is not supported.
1226 UNREACHABLE(); 1226 UNREACHABLE();
1227 } 1227 }
1228 1228
1229 1229
1230 void FullCodeGenerator::VisitDebuggerStatement(DebuggerStatement* stmt) { 1230 void FullCodeGenerator::VisitDebuggerStatement(DebuggerStatement* stmt) {
1231 Comment cmnt(masm_, "[ DebuggerStatement"); 1231 Comment cmnt(masm_, "[ DebuggerStatement");
1232 SetStatementPosition(stmt); 1232 SetStatementPosition(stmt);
1233 1233
1234 __ DebugBreak(); 1234 __ DebugBreak();
1235 // Ignore the return value. 1235 __ MaybeDropFrames();
1236 1236
1237 PrepareForBailoutForId(stmt->DebugBreakId(), BailoutState::NO_REGISTERS); 1237 PrepareForBailoutForId(stmt->DebugBreakId(), BailoutState::NO_REGISTERS);
1238 } 1238 }
1239 1239
1240 1240
1241 void FullCodeGenerator::VisitCaseClause(CaseClause* clause) { 1241 void FullCodeGenerator::VisitCaseClause(CaseClause* clause) {
1242 UNREACHABLE(); 1242 UNREACHABLE();
1243 } 1243 }
1244 1244
1245 1245
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
1603 return info_->has_simple_parameters(); 1603 return info_->has_simple_parameters();
1604 } 1604 }
1605 1605
1606 FunctionLiteral* FullCodeGenerator::literal() const { return info_->literal(); } 1606 FunctionLiteral* FullCodeGenerator::literal() const { return info_->literal(); }
1607 1607
1608 #undef __ 1608 #undef __
1609 1609
1610 1610
1611 } // namespace internal 1611 } // namespace internal
1612 } // namespace v8 1612 } // namespace v8
OLDNEW
« no previous file with comments | « src/external-reference-table.cc ('k') | src/globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698