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

Side by Side Diff: test/mjsunit/constant-branch-folding-liveness.js

Issue 22876009: Improve and simplify removal of unreachable code (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add missing file Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
Jakob Kummerow 2013/10/01 11:59:20 You can drop this file; it is already present as t
danno 2013/10/23 11:46:51 Done.
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
11 // with the distribution. 11 // with the distribution.
(...skipping 26 matching lines...) Expand all
38 return a; 38 return a;
39 } 39 }
40 return 0; 40 return 0;
41 } 41 }
42 42
43 assertEquals(0, foo(1, funky)); 43 assertEquals(0, foo(1, funky));
44 assertEquals(0, foo(1, funky)); 44 assertEquals(0, foo(1, funky));
45 %OptimizeFunctionOnNextCall(foo); 45 %OptimizeFunctionOnNextCall(foo);
46 assertEquals(0, foo(1, funky)); 46 assertEquals(0, foo(1, funky));
47 assertEquals(2, foo(1, function() { return true; })); 47 assertEquals(2, foo(1, function() { return true; }));
OLDNEW
« src/x64/lithium-x64.cc ('K') | « src/x64/lithium-x64.cc ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698