Chromium Code Reviews| Index: src/hydrogen-instructions.h |
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
| index edd93f0748e0ca90e5f884542a9bf38399177875..4f0035687bce49d074039e91f7ec8a4bb78c0269 100644 |
| --- a/src/hydrogen-instructions.h |
| +++ b/src/hydrogen-instructions.h |
| @@ -2289,7 +2289,6 @@ class HCheckPrototypeMaps: public HTemplateInstruction<0> { |
| virtual void PrintDataTo(StringStream* stream); |
| virtual intptr_t Hashcode() { |
| - ASSERT(!HEAP->IsAllocationAllowed()); |
|
Yang
2012/07/19 12:47:30
It would be great if we could distinguish between
sanjoy
2012/07/19 15:06:09
We can't leave in the checks as-is since the JS th
|
| intptr_t hash = reinterpret_cast<intptr_t>(*prototype()); |
| hash = 17 * hash + reinterpret_cast<intptr_t>(*holder()); |
| return hash; |
| @@ -2535,7 +2534,6 @@ class HConstant: public HTemplateInstruction<0> { |
| bool ToBoolean(); |
| virtual intptr_t Hashcode() { |
| - ASSERT(!HEAP->allow_allocation(false)); |
| intptr_t hash; |
| if (has_int32_value_) { |
| @@ -3640,7 +3638,6 @@ class HLoadGlobalCell: public HTemplateInstruction<0> { |
| virtual void PrintDataTo(StringStream* stream); |
| virtual intptr_t Hashcode() { |
| - ASSERT(!HEAP->allow_allocation(false)); |
| return reinterpret_cast<intptr_t>(*cell_); |
| } |