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

Unified Diff: runtime/vm/assembler_arm64.cc

Issue 1249933003: Rename assembler field/getter/setter allow_constant_pool to constant_pool_allowed (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/assembler_arm64.h ('k') | runtime/vm/assembler_mips.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_arm64.cc
diff --git a/runtime/vm/assembler_arm64.cc b/runtime/vm/assembler_arm64.cc
index 290890eba5b75a3499ae0bd2a56f5bc2bbe5a1fa..94f75cb7ce2fb3b4df17fdb06dc083be4b707523 100644
--- a/runtime/vm/assembler_arm64.cc
+++ b/runtime/vm/assembler_arm64.cc
@@ -30,7 +30,7 @@ Assembler::Assembler(bool use_far_branches)
prologue_offset_(-1),
use_far_branches_(use_far_branches),
comments_(),
- allow_constant_pool_(true) {
+ constant_pool_allowed_(true) {
}
@@ -366,7 +366,7 @@ intptr_t Assembler::FindImmediate(int64_t imm) {
bool Assembler::CanLoadFromObjectPool(const Object& object) const {
ASSERT(!Thread::CanLoadFromThread(object));
- if (!allow_constant_pool()) {
+ if (!constant_pool_allowed()) {
return false;
}
@@ -384,7 +384,7 @@ bool Assembler::CanLoadFromObjectPool(const Object& object) const {
bool Assembler::CanLoadImmediateFromPool(int64_t imm, Register pp) {
- if (!allow_constant_pool()) {
+ if (!constant_pool_allowed()) {
return false;
}
return !Utils::IsInt(32, imm) && (pp != kNoPP);
@@ -465,7 +465,7 @@ void Assembler::CompareObject(Register reg, const Object& object, Register pp) {
void Assembler::LoadDecodableImmediate(Register reg, int64_t imm, Register pp) {
- if ((pp != kNoPP) && allow_constant_pool()) {
+ if ((pp != kNoPP) && constant_pool_allowed()) {
const int32_t offset = ObjectPool::element_offset(FindImmediate(imm));
LoadWordFromPoolOffset(reg, pp, offset);
} else {
« no previous file with comments | « runtime/vm/assembler_arm64.h ('k') | runtime/vm/assembler_mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698