Chromium Code Reviews| Index: src/ia32/lithium-codegen-ia32.cc |
| diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
| index 0d20dea90ae793223117aaea6e680ba38ce22b29..013a921c5f9f75662fe78c8ba7209dab5160bb66 100644 |
| --- a/src/ia32/lithium-codegen-ia32.cc |
| +++ b/src/ia32/lithium-codegen-ia32.cc |
| @@ -4342,6 +4342,7 @@ void LCodeGen::DoStoreNamedField(LStoreNamedField* instr) { |
| int offset = access.offset(); |
| if (access.IsExternalMemory()) { |
| + ASSERT(!instr->hydrogen()->NeedsWriteBarrier()); |
|
mvstanton
2013/07/31 13:37:47
This assert should be in the other platforms too.
Michael Starzinger
2013/07/31 13:40:19
nit: Can we add the same assert to the x64 port as
Benedikt Meurer
2013/07/31 13:45:39
Done.
|
| MemOperand operand = instr->object()->IsConstantOperand() |
| ? MemOperand::StaticVariable( |
| ToExternalReference(LConstantOperand::cast(instr->object()))) |