| 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 | 5 // modification, are permitted provided that the following conditions |
| 6 // are met: | 6 // are 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 918 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 929 class BlockConstPoolScope { | 929 class BlockConstPoolScope { |
| 930 public: | 930 public: |
| 931 explicit BlockConstPoolScope(Assembler* assem) : assem_(assem) { | 931 explicit BlockConstPoolScope(Assembler* assem) : assem_(assem) { |
| 932 assem_->const_pool_blocked_nesting_++; | 932 assem_->const_pool_blocked_nesting_++; |
| 933 } | 933 } |
| 934 ~BlockConstPoolScope() { | 934 ~BlockConstPoolScope() { |
| 935 assem_->const_pool_blocked_nesting_--; | 935 assem_->const_pool_blocked_nesting_--; |
| 936 } | 936 } |
| 937 | 937 |
| 938 private: | 938 private: |
| 939 Assembler* assem_; |
| 940 |
| 939 DISALLOW_IMPLICIT_CONSTRUCTORS(BlockConstPoolScope); | 941 DISALLOW_IMPLICIT_CONSTRUCTORS(BlockConstPoolScope); |
| 940 | |
| 941 Assembler* assem_; | |
| 942 }; | 942 }; |
| 943 | 943 |
| 944 // Debugging | 944 // Debugging |
| 945 | 945 |
| 946 // Mark address of the ExitJSFrame code. | 946 // Mark address of the ExitJSFrame code. |
| 947 void RecordJSReturn(); | 947 void RecordJSReturn(); |
| 948 | 948 |
| 949 // Record a comment relocation entry that can be used by a disassembler. | 949 // Record a comment relocation entry that can be used by a disassembler. |
| 950 // Use --debug_code to enable. | 950 // Use --debug_code to enable. |
| 951 void RecordComment(const char* msg); | 951 void RecordComment(const char* msg); |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1087 | 1087 |
| 1088 friend class RegExpMacroAssemblerARM; | 1088 friend class RegExpMacroAssemblerARM; |
| 1089 friend class RelocInfo; | 1089 friend class RelocInfo; |
| 1090 friend class CodePatcher; | 1090 friend class CodePatcher; |
| 1091 friend class BlockConstPoolScope; | 1091 friend class BlockConstPoolScope; |
| 1092 }; | 1092 }; |
| 1093 | 1093 |
| 1094 } } // namespace v8::internal | 1094 } } // namespace v8::internal |
| 1095 | 1095 |
| 1096 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 1096 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
| OLD | NEW |