| Index: runtime/vm/intermediate_language_x64.cc
|
| diff --git a/runtime/vm/intermediate_language_x64.cc b/runtime/vm/intermediate_language_x64.cc
|
| index a55f175331093bbc61b0577e7202ad01a39f4fa6..c15253ed4b08f1041e3cda035b17fa3441f6f8c6 100644
|
| --- a/runtime/vm/intermediate_language_x64.cc
|
| +++ b/runtime/vm/intermediate_language_x64.cc
|
| @@ -1754,6 +1754,11 @@ LocationSummary* LoadStaticFieldInstr::MakeLocationSummary() const {
|
| }
|
|
|
|
|
| +// When the parser is building an implicit static getter for optimization,
|
| +// it can generate a function body where deoptimization ids do not line up
|
| +// with the unoptimized code.
|
| +//
|
| +// This is safe only so long as LoadStaticFieldInstr cannot deoptimize.
|
| void LoadStaticFieldInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| Register field = locs()->in(0).reg();
|
| Register result = locs()->out().reg();
|
|
|