OLD | NEW |
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 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
551 } | 551 } |
552 | 552 |
553 | 553 |
554 void FullCodeGenerator::SetStatementPosition(int pos) { | 554 void FullCodeGenerator::SetStatementPosition(int pos) { |
555 if (FLAG_debug_info) { | 555 if (FLAG_debug_info) { |
556 CodeGenerator::RecordPositions(masm_, pos); | 556 CodeGenerator::RecordPositions(masm_, pos); |
557 } | 557 } |
558 } | 558 } |
559 | 559 |
560 | 560 |
561 void FullCodeGenerator::SetSourcePosition( | 561 void FullCodeGenerator::SetSourcePosition(int pos) { |
562 int pos, PositionRecordingType recording_type) { | |
563 if (FLAG_debug_info && pos != RelocInfo::kNoPosition) { | 562 if (FLAG_debug_info && pos != RelocInfo::kNoPosition) { |
564 masm_->positions_recorder()->RecordPosition(pos, recording_type); | 563 masm_->positions_recorder()->RecordPosition(pos); |
565 } | 564 } |
566 } | 565 } |
567 | 566 |
568 | 567 |
569 // Lookup table for code generators for special runtime calls which are | 568 // Lookup table for code generators for special runtime calls which are |
570 // generated inline. | 569 // generated inline. |
571 #define INLINE_FUNCTION_GENERATOR_ADDRESS(Name, argc, ressize) \ | 570 #define INLINE_FUNCTION_GENERATOR_ADDRESS(Name, argc, ressize) \ |
572 &FullCodeGenerator::Emit##Name, | 571 &FullCodeGenerator::Emit##Name, |
573 | 572 |
574 const FullCodeGenerator::InlineFunctionGenerator | 573 const FullCodeGenerator::InlineFunctionGenerator |
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1218 __ Drop(stack_depth); | 1217 __ Drop(stack_depth); |
1219 __ PopTryHandler(); | 1218 __ PopTryHandler(); |
1220 return 0; | 1219 return 0; |
1221 } | 1220 } |
1222 | 1221 |
1223 | 1222 |
1224 #undef __ | 1223 #undef __ |
1225 | 1224 |
1226 | 1225 |
1227 } } // namespace v8::internal | 1226 } } // namespace v8::internal |
OLD | NEW |