summaryrefslogtreecommitdiff
path: root/deps/v8/src/mips/assembler-mips-inl.h
diff options
context:
space:
mode:
authorTrevor Norris <trev.norris@gmail.com>2014-01-23 12:14:40 -0800
committerTrevor Norris <trev.norris@gmail.com>2014-01-23 12:26:51 -0800
commitf78e5df85467343bf91b4811bc1cb6cd47cc7575 (patch)
treef86cdfa54be742059aa5da261e12128883527403 /deps/v8/src/mips/assembler-mips-inl.h
parentc79c304ead2e16082465a61156d9e29b01a7909e (diff)
downloadnode-new-f78e5df85467343bf91b4811bc1cb6cd47cc7575.tar.gz
v8: upgrade to 3.22.24.17
Diffstat (limited to 'deps/v8/src/mips/assembler-mips-inl.h')
-rw-r--r--deps/v8/src/mips/assembler-mips-inl.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/deps/v8/src/mips/assembler-mips-inl.h b/deps/v8/src/mips/assembler-mips-inl.h
index de91051ed0..8c825d24ee 100644
--- a/deps/v8/src/mips/assembler-mips-inl.h
+++ b/deps/v8/src/mips/assembler-mips-inl.h
@@ -271,16 +271,14 @@ Handle<Object> RelocInfo::code_age_stub_handle(Assembler* origin) {
Code* RelocInfo::code_age_stub() {
ASSERT(rmode_ == RelocInfo::CODE_AGE_SEQUENCE);
return Code::GetCodeFromTargetAddress(
- Memory::Address_at(pc_ + Assembler::kInstrSize *
- (kNoCodeAgeSequenceLength - 1)));
+ Assembler::target_address_at(pc_ + Assembler::kInstrSize));
}
void RelocInfo::set_code_age_stub(Code* stub) {
ASSERT(rmode_ == RelocInfo::CODE_AGE_SEQUENCE);
- Memory::Address_at(pc_ + Assembler::kInstrSize *
- (kNoCodeAgeSequenceLength - 1)) =
- stub->instruction_start();
+ Assembler::set_target_address_at(pc_ + Assembler::kInstrSize,
+ stub->instruction_start());
}