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

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

Issue 88043002: Out-of-line constant pool on Arm: Stage 3 - Set Constant Pool Pointer on Function Entry (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Sync and Rebase Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « include/v8.h ('k') | src/arm/assembler-arm.cc » ('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 1293 matching lines...) Expand 10 before | Expand all | Expand 10 after
1304 } 1304 }
1305 1305
1306 // Check the number of instructions generated from label to here. 1306 // Check the number of instructions generated from label to here.
1307 int InstructionsGeneratedSince(Label* label) { 1307 int InstructionsGeneratedSince(Label* label) {
1308 return SizeOfCodeGeneratedSince(label) / kInstrSize; 1308 return SizeOfCodeGeneratedSince(label) / kInstrSize;
1309 } 1309 }
1310 1310
1311 // Check whether an immediate fits an addressing mode 1 instruction. 1311 // Check whether an immediate fits an addressing mode 1 instruction.
1312 bool ImmediateFitsAddrMode1Instruction(int32_t imm32); 1312 bool ImmediateFitsAddrMode1Instruction(int32_t imm32);
1313 1313
1314 // Check whether an immediate fits an addressing mode 2 instruction.
1315 bool ImmediateFitsAddrMode2Instruction(int32_t imm32);
1316
1314 // Class for scoping postponing the constant pool generation. 1317 // Class for scoping postponing the constant pool generation.
1315 class BlockConstPoolScope { 1318 class BlockConstPoolScope {
1316 public: 1319 public:
1317 explicit BlockConstPoolScope(Assembler* assem) : assem_(assem) { 1320 explicit BlockConstPoolScope(Assembler* assem) : assem_(assem) {
1318 assem_->StartBlockConstPool(); 1321 assem_->StartBlockConstPool();
1319 } 1322 }
1320 ~BlockConstPoolScope() { 1323 ~BlockConstPoolScope() {
1321 assem_->EndBlockConstPool(); 1324 assem_->EndBlockConstPool();
1322 } 1325 }
1323 1326
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
1604 public: 1607 public:
1605 explicit EnsureSpace(Assembler* assembler) { 1608 explicit EnsureSpace(Assembler* assembler) {
1606 assembler->CheckBuffer(); 1609 assembler->CheckBuffer();
1607 } 1610 }
1608 }; 1611 };
1609 1612
1610 1613
1611 } } // namespace v8::internal 1614 } } // namespace v8::internal
1612 1615
1613 #endif // V8_ARM_ASSEMBLER_ARM_H_ 1616 #endif // V8_ARM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/arm/assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698