OLD | NEW |
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
889 // This blocking scope is not nestable. | 889 // This blocking scope is not nestable. |
890 class BlockGrowBufferScope { | 890 class BlockGrowBufferScope { |
891 public: | 891 public: |
892 explicit BlockGrowBufferScope(Assembler* assem) : assem_(assem) { | 892 explicit BlockGrowBufferScope(Assembler* assem) : assem_(assem) { |
893 assem_->StartBlockGrowBuffer(); | 893 assem_->StartBlockGrowBuffer(); |
894 } | 894 } |
895 ~BlockGrowBufferScope() { | 895 ~BlockGrowBufferScope() { |
896 assem_->EndBlockGrowBuffer(); | 896 assem_->EndBlockGrowBuffer(); |
897 } | 897 } |
898 | 898 |
899 private: | 899 private: |
900 Assembler* assem_; | 900 Assembler* assem_; |
901 | 901 |
902 DISALLOW_IMPLICIT_CONSTRUCTORS(BlockGrowBufferScope); | 902 DISALLOW_IMPLICIT_CONSTRUCTORS(BlockGrowBufferScope); |
903 }; | 903 }; |
904 | 904 |
905 // Debugging. | 905 // Debugging. |
906 | 906 |
907 // Mark address of the ExitJSFrame code. | 907 // Mark address of the ExitJSFrame code. |
908 void RecordJSReturn(); | 908 void RecordJSReturn(); |
909 | 909 |
910 // Mark address of a debug break slot. | 910 // Mark address of a debug break slot. |
911 void RecordDebugBreakSlot(); | 911 void RecordDebugBreakSlot(); |
912 | 912 |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1286 class EnsureSpace BASE_EMBEDDED { | 1286 class EnsureSpace BASE_EMBEDDED { |
1287 public: | 1287 public: |
1288 explicit EnsureSpace(Assembler* assembler) { | 1288 explicit EnsureSpace(Assembler* assembler) { |
1289 assembler->CheckBuffer(); | 1289 assembler->CheckBuffer(); |
1290 } | 1290 } |
1291 }; | 1291 }; |
1292 | 1292 |
1293 } } // namespace v8::internal | 1293 } } // namespace v8::internal |
1294 | 1294 |
1295 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1295 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
OLD | NEW |