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/full-codegen/full-codegen.cc

Issue 2650193002: [debugger] remove debugger statement support from FCG/CS. (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/debug/debug.cc ('k') | src/ia32/macro-assembler-ia32.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 1205 matching lines...) Expand 10 before | Expand all | Expand 10 after
1216 } 1216 }
1217 1217
1218 1218
1219 void FullCodeGenerator::VisitTryFinallyStatement(TryFinallyStatement* stmt) { 1219 void FullCodeGenerator::VisitTryFinallyStatement(TryFinallyStatement* stmt) {
1220 // Exception handling is not supported. 1220 // Exception handling is not supported.
1221 UNREACHABLE(); 1221 UNREACHABLE();
1222 } 1222 }
1223 1223
1224 1224
1225 void FullCodeGenerator::VisitDebuggerStatement(DebuggerStatement* stmt) { 1225 void FullCodeGenerator::VisitDebuggerStatement(DebuggerStatement* stmt) {
1226 Comment cmnt(masm_, "[ DebuggerStatement"); 1226 // Debugger statement is not supported.
1227 SetStatementPosition(stmt); 1227 UNREACHABLE();
1228
1229 __ DebugBreak();
1230 __ MaybeDropFrames();
1231
1232 PrepareForBailoutForId(stmt->DebugBreakId(), BailoutState::NO_REGISTERS);
1233 } 1228 }
1234 1229
1235 1230
1236 void FullCodeGenerator::VisitCaseClause(CaseClause* clause) { 1231 void FullCodeGenerator::VisitCaseClause(CaseClause* clause) {
1237 UNREACHABLE(); 1232 UNREACHABLE();
1238 } 1233 }
1239 1234
1240 1235
1241 void FullCodeGenerator::VisitConditional(Conditional* expr) { 1236 void FullCodeGenerator::VisitConditional(Conditional* expr) {
1242 Comment cmnt(masm_, "[ Conditional"); 1237 Comment cmnt(masm_, "[ Conditional");
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
1602 1597
1603 const FeedbackVectorSpec* FullCodeGenerator::feedback_vector_spec() const { 1598 const FeedbackVectorSpec* FullCodeGenerator::feedback_vector_spec() const {
1604 return literal()->feedback_vector_spec(); 1599 return literal()->feedback_vector_spec();
1605 } 1600 }
1606 1601
1607 #undef __ 1602 #undef __
1608 1603
1609 1604
1610 } // namespace internal 1605 } // namespace internal
1611 } // namespace v8 1606 } // namespace v8
OLDNEW
« no previous file with comments | « src/debug/debug.cc ('k') | src/ia32/macro-assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698