Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index d4f8f7bf1c6d5c2afc3efd724f4c18833e1b9a40..83f62164458936deeaa46eac60dbfc34302a4cb4 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -411,14 +411,12 @@ 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 unused, |
- 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); |
// Check if the object in register heap_object is a string. Afterwards the |
// register map contains the object map and the register instance_type |