| Index: runtime/vm/intermediate_language_x64.cc
|
| diff --git a/runtime/vm/intermediate_language_x64.cc b/runtime/vm/intermediate_language_x64.cc
|
| index 5fe8d27964e18d21330ddd6eab77d8ca6a9eacc0..893480127f62cae1f2e280c4b5faeeeaccfdfef0 100644
|
| --- a/runtime/vm/intermediate_language_x64.cc
|
| +++ b/runtime/vm/intermediate_language_x64.cc
|
| @@ -46,6 +46,29 @@ static LocationSummary* MakeSimpleLocationSummary(
|
| }
|
|
|
|
|
| +LocationSummary* CurrentContextComp::MakeLocationSummary() {
|
| + return MakeSimpleLocationSummary(0, Location::RequiresRegister());
|
| +}
|
| +
|
| +
|
| +void CurrentContextComp::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| + __ movq(locs()->out().reg(), CTX);
|
| +}
|
| +
|
| +
|
| +LocationSummary* StoreContextComp::MakeLocationSummary() {
|
| + LocationSummary* summary = new LocationSummary(1);
|
| + summary->set_in(0, Location::RegisterLocation(CTX));
|
| + return summary;
|
| +}
|
| +
|
| +
|
| +void StoreContextComp::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| + // Nothing to do. Context register were loaded by register allocator.
|
| + ASSERT(locs()->in(0).reg() == CTX);
|
| +}
|
| +
|
| +
|
| LocationSummary* StrictCompareComp::MakeLocationSummary() {
|
| return MakeSimpleLocationSummary(2, Location::SameAsFirstInput());
|
| }
|
|
|