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

Side by Side Diff: test/cctest/compiler/function-tester.h

Issue 2805783003: [csa] Fix CSA::ToUint32 rounding for negative HeapNumbers (Closed)
Patch Set: Fix Smi::IsValid test Created 3 years, 8 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/code-stub-assembler.cc ('k') | test/cctest/compiler/function-tester.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 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 #ifndef V8_CCTEST_COMPILER_FUNCTION_TESTER_H_ 5 #ifndef V8_CCTEST_COMPILER_FUNCTION_TESTER_H_
6 #define V8_CCTEST_COMPILER_FUNCTION_TESTER_H_ 6 #define V8_CCTEST_COMPILER_FUNCTION_TESTER_H_
7 7
8 #include "src/handles.h" 8 #include "src/handles.h"
9 #include "test/cctest/cctest.h" 9 #include "test/cctest/cctest.h"
10 10
(...skipping 22 matching lines...) Expand all
33 Handle<JSFunction> function; 33 Handle<JSFunction> function;
34 34
35 MaybeHandle<Object> Call(); 35 MaybeHandle<Object> Call();
36 MaybeHandle<Object> Call(Handle<Object> a); 36 MaybeHandle<Object> Call(Handle<Object> a);
37 MaybeHandle<Object> Call(Handle<Object> a, Handle<Object> b); 37 MaybeHandle<Object> Call(Handle<Object> a, Handle<Object> b);
38 MaybeHandle<Object> Call(Handle<Object> a, Handle<Object> b, 38 MaybeHandle<Object> Call(Handle<Object> a, Handle<Object> b,
39 Handle<Object> c); 39 Handle<Object> c);
40 MaybeHandle<Object> Call(Handle<Object> a, Handle<Object> b, Handle<Object> c, 40 MaybeHandle<Object> Call(Handle<Object> a, Handle<Object> b, Handle<Object> c,
41 Handle<Object> d); 41 Handle<Object> d);
42 42
43 void CheckThrows(Handle<Object> a);
43 void CheckThrows(Handle<Object> a, Handle<Object> b); 44 void CheckThrows(Handle<Object> a, Handle<Object> b);
44 v8::Local<v8::Message> CheckThrowsReturnMessage(Handle<Object> a, 45 v8::Local<v8::Message> CheckThrowsReturnMessage(Handle<Object> a,
45 Handle<Object> b); 46 Handle<Object> b);
46 void CheckCall(Handle<Object> expected, Handle<Object> a, Handle<Object> b, 47 void CheckCall(Handle<Object> expected, Handle<Object> a, Handle<Object> b,
47 Handle<Object> c, Handle<Object> d); 48 Handle<Object> c, Handle<Object> d);
48 49
49 void CheckCall(Handle<Object> expected, Handle<Object> a, Handle<Object> b, 50 void CheckCall(Handle<Object> expected, Handle<Object> a, Handle<Object> b,
50 Handle<Object> c) { 51 Handle<Object> c) {
51 return CheckCall(expected, a, b, c, undefined()); 52 return CheckCall(expected, a, b, c, undefined());
52 } 53 }
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 129
129 // Compile the given machine graph instead of the source of the function 130 // Compile the given machine graph instead of the source of the function
130 // and replace the JSFunction's code with the result. 131 // and replace the JSFunction's code with the result.
131 Handle<JSFunction> CompileGraph(Graph* graph); 132 Handle<JSFunction> CompileGraph(Graph* graph);
132 }; 133 };
133 } // namespace compiler 134 } // namespace compiler
134 } // namespace internal 135 } // namespace internal
135 } // namespace v8 136 } // namespace v8
136 137
137 #endif // V8_CCTEST_COMPILER_FUNCTION_TESTER_H_ 138 #endif // V8_CCTEST_COMPILER_FUNCTION_TESTER_H_
OLDNEW
« no previous file with comments | « src/code-stub-assembler.cc ('k') | test/cctest/compiler/function-tester.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698