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

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

Issue 492203002: Initial support for debugger frame state in Turbofan. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Another attempt to fix Win64 Created 6 years, 4 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
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/codegen.h" 7 #include "src/codegen.h"
8 #include "src/compiler.h" 8 #include "src/compiler.h"
9 #include "src/debug.h" 9 #include "src/debug.h"
10 #include "src/full-codegen.h" 10 #include "src/full-codegen.h"
(...skipping 1454 matching lines...) Expand 10 before | Expand all | Expand 10 after
1465 __ Call(&finally_entry); 1465 __ Call(&finally_entry);
1466 } 1466 }
1467 1467
1468 1468
1469 void FullCodeGenerator::VisitDebuggerStatement(DebuggerStatement* stmt) { 1469 void FullCodeGenerator::VisitDebuggerStatement(DebuggerStatement* stmt) {
1470 Comment cmnt(masm_, "[ DebuggerStatement"); 1470 Comment cmnt(masm_, "[ DebuggerStatement");
1471 SetStatementPosition(stmt); 1471 SetStatementPosition(stmt);
1472 1472
1473 __ DebugBreak(); 1473 __ DebugBreak();
1474 // Ignore the return value. 1474 // Ignore the return value.
1475
1476 PrepareForBailoutForId(stmt->DebugBreakId(), NO_REGISTERS);
1475 } 1477 }
1476 1478
1477 1479
1478 void FullCodeGenerator::VisitCaseClause(CaseClause* clause) { 1480 void FullCodeGenerator::VisitCaseClause(CaseClause* clause) {
1479 UNREACHABLE(); 1481 UNREACHABLE();
1480 } 1482 }
1481 1483
1482 1484
1483 void FullCodeGenerator::VisitConditional(Conditional* expr) { 1485 void FullCodeGenerator::VisitConditional(Conditional* expr) {
1484 Comment cmnt(masm_, "[ Conditional"); 1486 Comment cmnt(masm_, "[ Conditional");
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
1691 } 1693 }
1692 return true; 1694 return true;
1693 } 1695 }
1694 #endif // DEBUG 1696 #endif // DEBUG
1695 1697
1696 1698
1697 #undef __ 1699 #undef __
1698 1700
1699 1701
1700 } } // namespace v8::internal 1702 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698