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

Side by Side Diff: test/cctest/test-assembler-arm.cc

Issue 1383053005: Reland: Introduce a V8_NORETURN macro and use it to make GCC 4.9.2 happy again. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: avoid gcc 4.8 compiler bug on arm by switching checks around Created 5 years, 2 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
« no previous file with comments | « test/cctest/interpreter/test-bytecode-generator.cc ('k') | test/cctest/test-atomicops.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 t.g = -2718.2818; 330 t.g = -2718.2818;
331 t.h = 31415926.5; 331 t.h = 31415926.5;
332 t.i = 0; 332 t.i = 0;
333 t.j = 0; 333 t.j = 0;
334 t.m = -2718.2818; 334 t.m = -2718.2818;
335 t.n = 123.456; 335 t.n = 123.456;
336 t.x = 4.5; 336 t.x = 4.5;
337 t.y = 9.0; 337 t.y = 9.0;
338 Object* dummy = CALL_GENERATED_CODE(f, &t, 0, 0, 0, 0); 338 Object* dummy = CALL_GENERATED_CODE(f, &t, 0, 0, 0, 0);
339 USE(dummy); 339 USE(dummy);
340 CHECK_EQ(9.0f, t.x);
340 CHECK_EQ(4.5f, t.y); 341 CHECK_EQ(4.5f, t.y);
341 CHECK_EQ(9.0f, t.x);
342 CHECK_EQ(-123.456, t.n); 342 CHECK_EQ(-123.456, t.n);
343 CHECK_EQ(2718.2818, t.m); 343 CHECK_EQ(2718.2818, t.m);
344 CHECK_EQ(2, t.i); 344 CHECK_EQ(2, t.i);
345 CHECK_EQ(2718.2818, t.g); 345 CHECK_EQ(2718.2818, t.g);
346 CHECK_EQ(31415926.5, t.h); 346 CHECK_EQ(31415926.5, t.h);
347 CHECK_EQ(617.0, t.j); 347 CHECK_EQ(617.0, t.j);
348 CHECK_EQ(42.0, t.f); 348 CHECK_EQ(42.0, t.f);
349 CHECK_EQ(1.0, t.e); 349 CHECK_EQ(1.0, t.e);
350 CHECK_EQ(1.000000059604644775390625, t.d); 350 CHECK_EQ(1.000000059604644775390625, t.d);
351 CHECK_EQ(4.25, t.c); 351 CHECK_EQ(4.25, t.c);
(...skipping 1682 matching lines...) Expand 10 before | Expand all | Expand 10 after
2034 HandleScope scope(isolate); 2034 HandleScope scope(isolate);
2035 2035
2036 Assembler assm(isolate, NULL, 0); 2036 Assembler assm(isolate, NULL, 0);
2037 __ mov(r0, Operand(isolate->factory()->infinity_value())); 2037 __ mov(r0, Operand(isolate->factory()->infinity_value()));
2038 __ BlockConstPoolFor(1019); 2038 __ BlockConstPoolFor(1019);
2039 for (int i = 0; i < 1019; ++i) __ nop(); 2039 for (int i = 0; i < 1019; ++i) __ nop();
2040 __ vldr(d0, MemOperand(r0, 0)); 2040 __ vldr(d0, MemOperand(r0, 0));
2041 } 2041 }
2042 2042
2043 #undef __ 2043 #undef __
OLDNEW
« no previous file with comments | « test/cctest/interpreter/test-bytecode-generator.cc ('k') | test/cctest/test-atomicops.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698