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

Side by Side Diff: test/mjsunit/regress/regress-arm64-spillslots.js

Issue 1401703003: [arm64] Fix jssp based spill slot accesses in Crankshaft (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « src/arm64/lithium-codegen-arm64.cc ('k') | 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
(Empty)
1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Flags: --allow-natives-syntax
6
7 "use strict";
8
9 function Message(message) {
10 this.message = message;
11 }
12
13 function Inlined(input) {
14 var dummy = arguments[1] === undefined;
15 if (input instanceof Message) {
16 return input;
17 }
18 print("unreachable, but we must create register allocation complexity");
19 return [];
20 }
21
22 function Process(input) {
23 var ret = [];
24 ret.push(Inlined(input[0], 1, 2));
25 return ret;
26 }
27
28 var input = [new Message("TEST PASS")];
29
30 Process(input);
31 Process(input);
32 %OptimizeFunctionOnNextCall(Process);
33 var result = Process(input);
34 assertEquals("TEST PASS", result[0].message);
OLDNEW
« no previous file with comments | « src/arm64/lithium-codegen-arm64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698