Commit fe7860fc authored by paul.lind@imgtec.com's avatar paul.lind@imgtec.com

MIPS: Fix test-simplified-lowering to pass without tf implemention.

GenerateCode() only for SupportedTarget() in 3 places, as in the
other tests here.

BUG=
R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/459913002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23055 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 604c52da
...@@ -407,9 +407,9 @@ class AccessTester : public HandleAndZoneScope { ...@@ -407,9 +407,9 @@ class AccessTester : public HandleAndZoneScope {
t.StoreElement(access, ptr, t.Int32Constant(to_index), load); t.StoreElement(access, ptr, t.Int32Constant(to_index), load);
t.Return(t.jsgraph.TrueConstant()); t.Return(t.jsgraph.TrueConstant());
t.LowerAllNodes(); t.LowerAllNodes();
t.GenerateCode();
if (Pipeline::SupportedTarget()) { if (Pipeline::SupportedTarget()) {
t.GenerateCode();
Object* result = t.Call(); Object* result = t.Call();
CHECK_EQ(t.isolate()->heap()->true_value(), result); CHECK_EQ(t.isolate()->heap()->true_value(), result);
} }
...@@ -429,9 +429,9 @@ class AccessTester : public HandleAndZoneScope { ...@@ -429,9 +429,9 @@ class AccessTester : public HandleAndZoneScope {
t.StoreField(to_access, ptr, load); t.StoreField(to_access, ptr, load);
t.Return(t.jsgraph.TrueConstant()); t.Return(t.jsgraph.TrueConstant());
t.LowerAllNodes(); t.LowerAllNodes();
t.GenerateCode();
if (Pipeline::SupportedTarget()) { if (Pipeline::SupportedTarget()) {
t.GenerateCode();
Object* result = t.Call(); Object* result = t.Call();
CHECK_EQ(t.isolate()->heap()->true_value(), result); CHECK_EQ(t.isolate()->heap()->true_value(), result);
} }
...@@ -468,9 +468,9 @@ class AccessTester : public HandleAndZoneScope { ...@@ -468,9 +468,9 @@ class AccessTester : public HandleAndZoneScope {
index = t.environment()->Pop(); index = t.environment()->Pop();
t.Return(t.jsgraph.TrueConstant()); t.Return(t.jsgraph.TrueConstant());
t.LowerAllNodes(); t.LowerAllNodes();
t.GenerateCode();
if (Pipeline::SupportedTarget()) { if (Pipeline::SupportedTarget()) {
t.GenerateCode();
Object* result = t.Call(); Object* result = t.Call();
CHECK_EQ(t.isolate()->heap()->true_value(), result); CHECK_EQ(t.isolate()->heap()->true_value(), result);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment