diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2015-01-07 18:38:38 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2015-01-07 22:11:18 +0100 |
commit | dad73f645cde6920e79db956e7ef82ed640d7615 (patch) | |
tree | 7ba3f3fc7e0722c5f130065461b7c56f571af383 /deps/v8/src/arm64/macro-assembler-arm64.h | |
parent | 53ba494537259b18b346dc6150d6a100c557e08f (diff) | |
download | node-new-dad73f645cde6920e79db956e7ef82ed640d7615.tar.gz |
deps: upgrade v8 to 3.31.74.1
PR-URL: https://github.com/iojs/io.js/pull/243
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to 'deps/v8/src/arm64/macro-assembler-arm64.h')
-rw-r--r-- | deps/v8/src/arm64/macro-assembler-arm64.h | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/deps/v8/src/arm64/macro-assembler-arm64.h b/deps/v8/src/arm64/macro-assembler-arm64.h index cff42d7df7..ee4358955f 100644 --- a/deps/v8/src/arm64/macro-assembler-arm64.h +++ b/deps/v8/src/arm64/macro-assembler-arm64.h @@ -761,9 +761,9 @@ class MacroAssembler : public Assembler { // it can be evidence of a potential bug because the ABI forbids accesses // below csp. // - // If StackPointer() is the system stack pointer (csp) or ALWAYS_ALIGN_CSP is - // enabled, then csp will be dereferenced to cause the processor - // (or simulator) to abort if it is not properly aligned. + // If StackPointer() is the system stack pointer (csp), then csp will be + // dereferenced to cause the processor (or simulator) to abort if it is not + // properly aligned. // // If emit_debug_code() is false, this emits no code. void AssertStackConsistency(); @@ -831,9 +831,7 @@ class MacroAssembler : public Assembler { inline void BumpSystemStackPointer(const Operand& space); // Re-synchronizes the system stack pointer (csp) with the current stack - // pointer (according to StackPointer()). This function will ensure the - // new value of the system stack pointer is remains aligned to 16 bytes, and - // is lower than or equal to the value of the current stack pointer. + // pointer (according to StackPointer()). // // This method asserts that StackPointer() is not csp, since the call does // not make sense in that context. @@ -1480,14 +1478,19 @@ class MacroAssembler : public Assembler { Label* fail, SmiCheckType smi_check_type); - // Check if the map of an object is equal to a specified map and branch to a - // specified target if equal. Skip the smi check if not required (object is - // known to be a heap object) - void DispatchMap(Register obj, - Register scratch, - Handle<Map> map, - Handle<Code> success, - SmiCheckType smi_check_type); + // Check if the map of an object is equal to a specified weak map and branch + // to a specified target if equal. Skip the smi check if not required + // (object is known to be a heap object) + void DispatchWeakMap(Register obj, Register scratch1, Register scratch2, + Handle<WeakCell> cell, Handle<Code> success, + SmiCheckType smi_check_type); + + // Compare the given value and the value of weak cell. + void CmpWeakValue(Register value, Handle<WeakCell> cell, Register scratch); + + // Load the value of the weak cell in the value register. Branch to the given + // miss label if the weak cell was cleared. + void LoadWeakValue(Register value, Handle<WeakCell> cell, Label* miss); // Test the bitfield of the heap object map with mask and set the condition // flags. The object register is preserved. @@ -1777,10 +1780,6 @@ class MacroAssembler : public Assembler { int mask, Label* if_all_clear); - void CheckMapDeprecated(Handle<Map> map, - Register scratch, - Label* if_deprecated); - // Check if object is in new space and jump accordingly. // Register 'object' is preserved. void JumpIfNotInNewSpace(Register object, |