Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: test/cctest/compiler/test-changes-lowering.cc

Issue 513253002: ARM64: re-enable turbofan tests. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <limits> 5 #include <limits>
6 6
7 #include "src/compiler/change-lowering.h" 7 #include "src/compiler/change-lowering.h"
8 #include "src/compiler/control-builders.h" 8 #include "src/compiler/control-builders.h"
9 #include "src/compiler/generic-node-inl.h" 9 #include "src/compiler/generic-node-inl.h"
10 #include "src/compiler/js-graph.h" 10 #include "src/compiler/js-graph.h"
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 } 296 }
297 297
298 if (Pipeline::SupportedTarget()) { 298 if (Pipeline::SupportedTarget()) {
299 Object* result = t.Call(0); 299 Object* result = t.Call(0);
300 Object* false_obj = t.heap()->false_value(); 300 Object* false_obj = t.heap()->false_value();
301 CHECK_EQ(false_obj, result); 301 CHECK_EQ(false_obj, result);
302 } 302 }
303 } 303 }
304 304
305 305
306 #ifndef V8_TARGET_ARCH_ARM64
307 #if V8_TURBOFAN_BACKEND 306 #if V8_TURBOFAN_BACKEND
308 // TODO(titzer): disabled on ARM64 because calling into the runtime to
309 // allocate uses the wrong stack pointer.
310 // TODO(titzer): disabled on ARM 307 // TODO(titzer): disabled on ARM
311 308
312 TEST(RunChangeInt32ToTaggedSmi) { 309 TEST(RunChangeInt32ToTaggedSmi) {
313 ChangesLoweringTester<Object*> t; 310 ChangesLoweringTester<Object*> t;
314 int32_t input; 311 int32_t input;
315 t.BuildLoadAndLower(t.simplified()->ChangeInt32ToTagged(), 312 t.BuildLoadAndLower(t.simplified()->ChangeInt32ToTagged(),
316 t.machine()->Load(kMachInt32), &input); 313 t.machine()->Load(kMachInt32), &input);
317 314
318 if (Pipeline::SupportedTarget()) { 315 if (Pipeline::SupportedTarget()) {
319 FOR_INT32_INPUTS(i) { 316 FOR_INT32_INPUTS(i) {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 401
405 input = *i; 402 input = *i;
406 Object* result = t.CallWithPotentialGC<Object>(); 403 Object* result = t.CallWithPotentialGC<Object>();
407 t.CheckNumber(input, result); 404 t.CheckNumber(input, result);
408 } 405 }
409 } 406 }
410 } 407 }
411 } 408 }
412 409
413 #endif // V8_TURBOFAN_BACKEND 410 #endif // V8_TURBOFAN_BACKEND
414 #endif // !V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698