Chromium Code Reviews| Index: src/hydrogen-instructions.cc |
| diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
| index 670dad85c5d7ca23367d4abaf88e8233159c7c04..8b1378cb8f722f6f8f2963fd0f360893d43800a9 100644 |
| --- a/src/hydrogen-instructions.cc |
| +++ b/src/hydrogen-instructions.cc |
| @@ -1226,6 +1226,11 @@ void HStoreGlobal::PrintDataTo(StringStream* stream) const { |
| } |
| +void HLoadContextSlot::PrintDataTo(StringStream* stream) const { |
| + stream->Add("[%d->%d]]", context_chain_length(), slot_index()); |
|
Kevin Millikin (Chromium)
2010/12/20 12:05:44
I think you have an extra "]" here. I'm not wild
antonm
2010/12/20 20:39:24
Done.
I used -> syntax to mimic C/C++ structure's
|
| +} |
| + |
| + |
| // Implementation of type inference and type conversions. Calculates |
| // the inferred type of this instruction based on the input operands. |