| OLD | NEW |
| 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 838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 849 if (position_recorded) { | 849 if (position_recorded) { |
| 850 DebugCodegen::GenerateSlot(masm_); | 850 DebugCodegen::GenerateSlot(masm_); |
| 851 } | 851 } |
| 852 } | 852 } |
| 853 } | 853 } |
| 854 | 854 |
| 855 | 855 |
| 856 void FullCodeGenerator::SetSourcePosition(int pos) { | 856 void FullCodeGenerator::SetSourcePosition(int pos) { |
| 857 if (pos != RelocInfo::kNoPosition) { | 857 if (pos != RelocInfo::kNoPosition) { |
| 858 masm_->positions_recorder()->RecordPosition(pos); | 858 masm_->positions_recorder()->RecordPosition(pos); |
| 859 masm_->positions_recorder()->WriteRecordedPositions(); |
| 859 } | 860 } |
| 860 } | 861 } |
| 861 | 862 |
| 862 | 863 |
| 863 // Lookup table for code generators for special runtime calls which are | 864 // Lookup table for code generators for special runtime calls which are |
| 864 // generated inline. | 865 // generated inline. |
| 865 #define INLINE_FUNCTION_GENERATOR_ADDRESS(Name, argc, ressize) \ | 866 #define INLINE_FUNCTION_GENERATOR_ADDRESS(Name, argc, ressize) \ |
| 866 &FullCodeGenerator::Emit##Name, | 867 &FullCodeGenerator::Emit##Name, |
| 867 | 868 |
| 868 const FullCodeGenerator::InlineFunctionGenerator | 869 const FullCodeGenerator::InlineFunctionGenerator |
| (...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1692 } | 1693 } |
| 1693 return true; | 1694 return true; |
| 1694 } | 1695 } |
| 1695 #endif // DEBUG | 1696 #endif // DEBUG |
| 1696 | 1697 |
| 1697 | 1698 |
| 1698 #undef __ | 1699 #undef __ |
| 1699 | 1700 |
| 1700 | 1701 |
| 1701 } } // namespace v8::internal | 1702 } } // namespace v8::internal |
| OLD | NEW |