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

Side by Side Diff: src/arm/assembler-arm.h

Issue 2870018: Add "has fast elements" bit to maps and use it in inlined keyed loads. (Closed)
Patch Set: More ARM fixes. Created 10 years, 6 months 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
« no previous file with comments | « src/api.cc ('k') | src/arm/codegen-arm.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 (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 1092 matching lines...) Expand 10 before | Expand all | Expand 10 after
1103 void BlockConstPoolBefore(int pc_offset) { 1103 void BlockConstPoolBefore(int pc_offset) {
1104 if (no_const_pool_before_ < pc_offset) no_const_pool_before_ = pc_offset; 1104 if (no_const_pool_before_ < pc_offset) no_const_pool_before_ = pc_offset;
1105 } 1105 }
1106 1106
1107 void StartBlockConstPool() { 1107 void StartBlockConstPool() {
1108 const_pool_blocked_nesting_++; 1108 const_pool_blocked_nesting_++;
1109 } 1109 }
1110 void EndBlockConstPool() { 1110 void EndBlockConstPool() {
1111 const_pool_blocked_nesting_--; 1111 const_pool_blocked_nesting_--;
1112 } 1112 }
1113 bool is_const_pool_blocked() const { return const_pool_blocked_nesting_ > 0; }
1113 1114
1114 private: 1115 private:
1115 // Code buffer: 1116 // Code buffer:
1116 // The buffer into which code and relocation info are generated. 1117 // The buffer into which code and relocation info are generated.
1117 byte* buffer_; 1118 byte* buffer_;
1118 int buffer_size_; 1119 int buffer_size_;
1119 // True if the assembler owns the buffer, false if buffer is external. 1120 // True if the assembler owns the buffer, false if buffer is external.
1120 bool own_buffer_; 1121 bool own_buffer_;
1121 1122
1122 // Buffer size and constant pool distance are checked together at regular 1123 // Buffer size and constant pool distance are checked together at regular
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
1213 1214
1214 friend class RegExpMacroAssemblerARM; 1215 friend class RegExpMacroAssemblerARM;
1215 friend class RelocInfo; 1216 friend class RelocInfo;
1216 friend class CodePatcher; 1217 friend class CodePatcher;
1217 friend class BlockConstPoolScope; 1218 friend class BlockConstPoolScope;
1218 }; 1219 };
1219 1220
1220 } } // namespace v8::internal 1221 } } // namespace v8::internal
1221 1222
1222 #endif // V8_ARM_ASSEMBLER_ARM_H_ 1223 #endif // V8_ARM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/arm/codegen-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698