| Index: vm/intermediate_language_x64.cc
|
| ===================================================================
|
| --- vm/intermediate_language_x64.cc (revision 7928)
|
| +++ vm/intermediate_language_x64.cc (working copy)
|
| @@ -35,6 +35,12 @@
|
| }
|
|
|
|
|
| +void BindInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| + computation()->EmitNativeCode(compiler);
|
| + __ pushq(locs()->out().reg());
|
| +}
|
| +
|
| +
|
| static LocationSummary* MakeSimpleLocationSummary(
|
| intptr_t input_count, Location out) {
|
| LocationSummary* summary = new LocationSummary(input_count);
|
| @@ -186,12 +192,6 @@
|
| }
|
|
|
|
|
| -void BindInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| - computation()->EmitNativeCode(compiler);
|
| - __ pushq(locs()->out().reg());
|
| -}
|
| -
|
| -
|
| LocationSummary* ConstantVal::MakeLocationSummary() const {
|
| return MakeSimpleLocationSummary(0, Location::RequiresRegister());
|
| }
|
| @@ -208,12 +208,17 @@
|
| }
|
|
|
|
|
| +LocationSummary* UseVal::MakeLocationSummary() const {
|
| + return NULL;
|
| +}
|
| +
|
| +
|
| void UseVal::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| UNIMPLEMENTED();
|
| }
|
|
|
|
|
| -LocationSummary* UseVal::MakeLocationSummary() const {
|
| +LocationSummary* AssertAssignableComp::MakeLocationSummary() const {
|
| return NULL;
|
| }
|
|
|
| @@ -223,7 +228,7 @@
|
| }
|
|
|
|
|
| -LocationSummary* AssertAssignableComp::MakeLocationSummary() const {
|
| +LocationSummary* AssertBooleanComp::MakeLocationSummary() const {
|
| return NULL;
|
| }
|
|
|
| @@ -233,7 +238,7 @@
|
| }
|
|
|
|
|
| -LocationSummary* AssertBooleanComp::MakeLocationSummary() const {
|
| +LocationSummary* EqualityCompareComp::MakeLocationSummary() const {
|
| return NULL;
|
| }
|
|
|
| @@ -243,7 +248,7 @@
|
| }
|
|
|
|
|
| -LocationSummary* EqualityCompareComp::MakeLocationSummary() const {
|
| +LocationSummary* NativeCallComp::MakeLocationSummary() const {
|
| return NULL;
|
| }
|
|
|
| @@ -253,7 +258,7 @@
|
| }
|
|
|
|
|
| -LocationSummary* NativeCallComp::MakeLocationSummary() const {
|
| +LocationSummary* StoreIndexedComp::MakeLocationSummary() const {
|
| return NULL;
|
| }
|
|
|
| @@ -263,7 +268,7 @@
|
| }
|
|
|
|
|
| -LocationSummary* StoreIndexedComp::MakeLocationSummary() const {
|
| +LocationSummary* InstanceSetterComp::MakeLocationSummary() const {
|
| return NULL;
|
| }
|
|
|
| @@ -273,7 +278,7 @@
|
| }
|
|
|
|
|
| -LocationSummary* InstanceSetterComp::MakeLocationSummary() const {
|
| +LocationSummary* StaticSetterComp::MakeLocationSummary() const {
|
| return NULL;
|
| }
|
|
|
| @@ -283,7 +288,7 @@
|
| }
|
|
|
|
|
| -LocationSummary* StaticSetterComp::MakeLocationSummary() const {
|
| +LocationSummary* LoadInstanceFieldComp::MakeLocationSummary() const {
|
| return NULL;
|
| }
|
|
|
| @@ -293,7 +298,7 @@
|
| }
|
|
|
|
|
| -LocationSummary* LoadInstanceFieldComp::MakeLocationSummary() const {
|
| +LocationSummary* StoreInstanceFieldComp::MakeLocationSummary() const {
|
| return NULL;
|
| }
|
|
|
| @@ -303,7 +308,7 @@
|
| }
|
|
|
|
|
| -LocationSummary* StoreInstanceFieldComp::MakeLocationSummary() const {
|
| +LocationSummary* LoadStaticFieldComp::MakeLocationSummary() const {
|
| return NULL;
|
| }
|
|
|
| @@ -313,7 +318,7 @@
|
| }
|
|
|
|
|
| -LocationSummary* LoadStaticFieldComp::MakeLocationSummary() const {
|
| +LocationSummary* StoreStaticFieldComp::MakeLocationSummary() const {
|
| return NULL;
|
| }
|
|
|
| @@ -323,7 +328,7 @@
|
| }
|
|
|
|
|
| -LocationSummary* StoreStaticFieldComp::MakeLocationSummary() const {
|
| +LocationSummary* BooleanNegateComp::MakeLocationSummary() const {
|
| return NULL;
|
| }
|
|
|
| @@ -333,7 +338,7 @@
|
| }
|
|
|
|
|
| -LocationSummary* BooleanNegateComp::MakeLocationSummary() const {
|
| +LocationSummary* InstanceOfComp::MakeLocationSummary() const {
|
| return NULL;
|
| }
|
|
|
| @@ -343,7 +348,7 @@
|
| }
|
|
|
|
|
| -LocationSummary* InstanceOfComp::MakeLocationSummary() const {
|
| +LocationSummary* CreateArrayComp::MakeLocationSummary() const {
|
| return NULL;
|
| }
|
|
|
| @@ -353,7 +358,7 @@
|
| }
|
|
|
|
|
| -LocationSummary* CreateArrayComp::MakeLocationSummary() const {
|
| +LocationSummary* CreateClosureComp::MakeLocationSummary() const {
|
| return NULL;
|
| }
|
|
|
| @@ -363,8 +368,8 @@
|
| }
|
|
|
|
|
| -LocationSummary* CreateClosureComp::MakeLocationSummary() const {
|
| - return NULL;
|
| +LocationSummary* AllocateObjectComp::MakeLocationSummary() const {
|
| + return MakeCallSummary();
|
| }
|
|
|
|
|
| @@ -380,8 +385,9 @@
|
| }
|
|
|
|
|
| -LocationSummary* AllocateObjectComp::MakeLocationSummary() const {
|
| - return MakeCallSummary();
|
| +LocationSummary* AllocateObjectWithBoundsCheckComp::
|
| + MakeLocationSummary() const {
|
| + return MakeSimpleLocationSummary(2, Location::RequiresRegister());
|
| }
|
|
|
|
|
| @@ -409,9 +415,8 @@
|
| }
|
|
|
|
|
| -LocationSummary* AllocateObjectWithBoundsCheckComp::
|
| - MakeLocationSummary() const {
|
| - return MakeSimpleLocationSummary(2, Location::RequiresRegister());
|
| +LocationSummary* NativeLoadFieldComp::MakeLocationSummary() const {
|
| + return NULL;
|
| }
|
|
|
|
|
| @@ -420,7 +425,7 @@
|
| }
|
|
|
|
|
| -LocationSummary* NativeLoadFieldComp::MakeLocationSummary() const {
|
| +LocationSummary* NativeStoreFieldComp::MakeLocationSummary() const {
|
| return NULL;
|
| }
|
|
|
| @@ -430,7 +435,7 @@
|
| }
|
|
|
|
|
| -LocationSummary* NativeStoreFieldComp::MakeLocationSummary() const {
|
| +LocationSummary* InstantiateTypeArgumentsComp::MakeLocationSummary() const {
|
| return NULL;
|
| }
|
|
|
| @@ -440,7 +445,8 @@
|
| }
|
|
|
|
|
| -LocationSummary* InstantiateTypeArgumentsComp::MakeLocationSummary() const {
|
| +LocationSummary* ExtractConstructorTypeArgumentsComp::
|
| + MakeLocationSummary() const {
|
| return NULL;
|
| }
|
|
|
| @@ -451,7 +457,7 @@
|
| }
|
|
|
|
|
| -LocationSummary* ExtractConstructorTypeArgumentsComp::
|
| +LocationSummary* ExtractConstructorInstantiatorComp::
|
| MakeLocationSummary() const {
|
| return NULL;
|
| }
|
| @@ -463,8 +469,7 @@
|
| }
|
|
|
|
|
| -LocationSummary* ExtractConstructorInstantiatorComp::
|
| - MakeLocationSummary() const {
|
| +LocationSummary* AllocateContextComp::MakeLocationSummary() const {
|
| return NULL;
|
| }
|
|
|
| @@ -474,7 +479,7 @@
|
| }
|
|
|
|
|
| -LocationSummary* AllocateContextComp::MakeLocationSummary() const {
|
| +LocationSummary* ChainContextComp::MakeLocationSummary() const {
|
| return NULL;
|
| }
|
|
|
| @@ -484,7 +489,7 @@
|
| }
|
|
|
|
|
| -LocationSummary* ChainContextComp::MakeLocationSummary() const {
|
| +LocationSummary* CloneContextComp::MakeLocationSummary() const {
|
| return NULL;
|
| }
|
|
|
| @@ -494,7 +499,7 @@
|
| }
|
|
|
|
|
| -LocationSummary* CloneContextComp::MakeLocationSummary() const {
|
| +LocationSummary* CatchEntryComp::MakeLocationSummary() const {
|
| return NULL;
|
| }
|
|
|
| @@ -504,11 +509,6 @@
|
| }
|
|
|
|
|
| -LocationSummary* CatchEntryComp::MakeLocationSummary() const {
|
| - return NULL;
|
| -}
|
| -
|
| -
|
| } // namespace dart
|
|
|
| #undef __
|
|
|