diff options
author | isaacs <i@izs.me> | 2012-03-28 19:51:38 -0700 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-03-28 19:51:38 -0700 |
commit | 4b64542fe09477fc5c70e974eb1a78cdce755eb7 (patch) | |
tree | b4d4cdfd5b07efbdae51098b422fde7844ff4715 /deps/v8/src/mips/assembler-mips.h | |
parent | 8a15147bc53849417f8737dd873877d497867c9f (diff) | |
download | node-new-4b64542fe09477fc5c70e974eb1a78cdce755eb7.tar.gz |
Upgrade V8 to 3.9.24.6
Diffstat (limited to 'deps/v8/src/mips/assembler-mips.h')
-rw-r--r-- | deps/v8/src/mips/assembler-mips.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/deps/v8/src/mips/assembler-mips.h b/deps/v8/src/mips/assembler-mips.h index b1ffc45c0a..8b877f653b 100644 --- a/deps/v8/src/mips/assembler-mips.h +++ b/deps/v8/src/mips/assembler-mips.h @@ -553,10 +553,13 @@ class Assembler : public AssemblerBase { static void JumpLabelToJumpRegister(Address pc); // This sets the branch destination (which gets loaded at the call address). - // This is for calls and branches within generated code. - inline static void set_target_at(Address instruction_payload, - Address target) { - set_target_address_at(instruction_payload, target); + // This is for calls and branches within generated code. The serializer + // has already deserialized the lui/ori instructions etc. + inline static void deserialization_set_special_target_at( + Address instruction_payload, Address target) { + set_target_address_at( + instruction_payload - kInstructionsFor32BitConstant * kInstrSize, + target); } // This sets the branch destination. @@ -578,8 +581,7 @@ class Assembler : public AssemblerBase { // are split across two consecutive instructions and don't exist separately // in the code, so the serializer should not step forwards in memory after // a target is resolved and written. - static const int kCallTargetSize = 0 * kInstrSize; - static const int kExternalTargetSize = 0 * kInstrSize; + static const int kSpecialTargetSize = 0; // Number of consecutive instructions used to store 32bit constant. // Before jump-optimizations, this constant was used in |