| Index: src/ia32/macro-assembler-ia32.h
|
| diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h
|
| index e6a17417d832e41f65167a178e438ca954b40404..79b53276989d35d87b976e14ae027528faacd7fb 100644
|
| --- a/src/ia32/macro-assembler-ia32.h
|
| +++ b/src/ia32/macro-assembler-ia32.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2011 the V8 project authors. All rights reserved.
|
| +// Copyright 2012 the V8 project authors. All rights reserved.
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| // met:
|
| @@ -358,11 +358,13 @@ class MacroAssembler: public Assembler {
|
|
|
| // Check if the map of an object is equal to a specified map and branch to
|
| // label if not. Skip the smi check if not required (object is known to be a
|
| - // heap object)
|
| + // heap object). If mode is ALLOW_ELEMENT_TRANSITION_MAPS, then also match
|
| + // against maps that are ElementsKind transition maps of the specificed map.
|
| void CheckMap(Register obj,
|
| Handle<Map> map,
|
| Label* fail,
|
| - SmiCheckType smi_check_type);
|
| + SmiCheckType smi_check_type,
|
| + MapCheckMode mode = REQUIRE_EXACT_MAP);
|
|
|
| // 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
|
|
|