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

Side by Side Diff: src/codegen.cc

Issue 385136: Step next should respect do/while condition block. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 1 month 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/codegen.h ('k') | src/ia32/codegen-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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 424
425 void CodeGenerator::CodeForReturnPosition(FunctionLiteral* fun) { 425 void CodeGenerator::CodeForReturnPosition(FunctionLiteral* fun) {
426 if (FLAG_debug_info) RecordPositions(masm(), fun->end_position()); 426 if (FLAG_debug_info) RecordPositions(masm(), fun->end_position());
427 } 427 }
428 428
429 429
430 void CodeGenerator::CodeForStatementPosition(Statement* stmt) { 430 void CodeGenerator::CodeForStatementPosition(Statement* stmt) {
431 if (FLAG_debug_info) RecordPositions(masm(), stmt->statement_pos()); 431 if (FLAG_debug_info) RecordPositions(masm(), stmt->statement_pos());
432 } 432 }
433 433
434 void CodeGenerator::CodeForDoWhileConditionPosition(DoWhileStatement* stmt) {
435 if (FLAG_debug_info) RecordPositions(masm(), stmt->condition_position());
436 }
434 437
435 void CodeGenerator::CodeForSourcePosition(int pos) { 438 void CodeGenerator::CodeForSourcePosition(int pos) {
436 if (FLAG_debug_info && pos != RelocInfo::kNoPosition) { 439 if (FLAG_debug_info && pos != RelocInfo::kNoPosition) {
437 masm()->RecordPosition(pos); 440 masm()->RecordPosition(pos);
438 } 441 }
439 } 442 }
440 443
441 444
442 const char* RuntimeStub::GetName() { 445 const char* RuntimeStub::GetName() {
443 return Runtime::FunctionForId(id_)->stub_name; 446 return Runtime::FunctionForId(id_)->stub_name;
(...skipping 27 matching lines...) Expand all
471 } 474 }
472 } 475 }
473 476
474 477
475 void ApiGetterEntryStub::SetCustomCache(Code* value) { 478 void ApiGetterEntryStub::SetCustomCache(Code* value) {
476 info()->set_load_stub_cache(value); 479 info()->set_load_stub_cache(value);
477 } 480 }
478 481
479 482
480 } } // namespace v8::internal 483 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/codegen.h ('k') | src/ia32/codegen-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698