Home
last modified time | relevance | path

Searched refs:FunctionTester (Results 1 – 17 of 17) sorted by relevance

/external/v8/test/cctest/compiler/
Dtest-run-inlining.cc63 FunctionTester T( in TEST()
77 FunctionTester T( in TEST()
91 FunctionTester T( in TEST()
105 FunctionTester T( in TEST()
119 FunctionTester T( in TEST()
136 FunctionTester T( in TEST()
153 FunctionTester T( in TEST()
167 FunctionTester T( in TEST()
182 FunctionTester T( in TEST()
198 FunctionTester T( in TEST()
[all …]
Dtest-run-jsops.cc12 FunctionTester T("(function(a,b) { return a + b; })"); in TEST()
27 FunctionTester T("(function(a,b) { return a - b; })"); in TEST()
41 FunctionTester T("(function(a,b) { return a * b; })"); in TEST()
55 FunctionTester T("(function(a,b) { return a / b; })"); in TEST()
71 FunctionTester T("(function(a,b) { return a % b; })"); in TEST()
84 FunctionTester T("(function(a,b) { return a << b; })"); in TEST()
93 FunctionTester T("(function(a,b) { return a >> b; })"); in TEST()
103 FunctionTester T("(function(a,b) { return a >>> b; })"); in TEST()
113 FunctionTester T("(function(a,b) { return a & b; })"); in TEST()
123 FunctionTester T("(function(a,b) { return a | b; })"); in TEST()
[all …]
Dtest-run-jsexceptions.cc12 FunctionTester T("(function(a,b) { if (a) { throw b; } else { return b; }})"); in TEST()
27 FunctionTester T(src); in TEST()
50 FunctionTester T(src); in TEST()
73 FunctionTester T(src); in TEST()
98 FunctionTester T(src); in TEST()
121 FunctionTester T(src); in TEST()
143 FunctionTester T(src); in TEST()
163 FunctionTester T(src); in TEST()
184 FunctionTester T(src); in TEST()
206 FunctionTester T(src); in TEST()
[all …]
Dtest-run-jsbranches.cc12 FunctionTester T("(function(a) { return a ? 23 : 42; })"); in TEST()
24 FunctionTester T("(function(a,b) { return a && b; })"); in TEST()
38 FunctionTester T("(function(a,b) { return a || b; })"); in TEST()
52 FunctionTester T("(function(a,b) { a && (b = a); return b; })"); in TEST()
66 FunctionTester T("(function(a) { if (a) { return 1; } else { return 2; } })"); in TEST()
78 FunctionTester T("(function(a,b) { do { a+=23; } while(a < b) return a; })"); in TEST()
88 FunctionTester T("(function(a,b) { while(a < b) { a+=23; } return a; })"); in TEST()
98 FunctionTester T("(function(a,b) { for (; a < b; a+=23) {} return a; })"); in TEST()
108 FunctionTester T(code); in TestForIn()
161 FunctionTester T(src); in TEST()
[all …]
Dtest-run-intrinsics.cc15 FunctionTester T("(function(a,b) { return %_Call(b, a, 1, 2, 3); })", flags); in TEST()
24 FunctionTester T("(function(a) { return %_ClassOf(a); })", flags); in TEST()
49 FunctionTester T( in TEST()
63 FunctionTester T("(function(a) { return %_IsArray(a); })", flags); in TEST()
78 FunctionTester T("(function(a) { return %_IsDate(a); })", flags); in TEST()
93 FunctionTester T("(function(a) { return %_IsFunction(a); })", flags); in TEST()
108 FunctionTester T("(function(a) { return %_IsMinusZero(a); })", flags); in TEST()
120 FunctionTester T("(function(a) { return %_IsRegExp(a); })", flags); in TEST()
135 FunctionTester T("(function(a) { return %_IsSmi(a); })", flags); in TEST()
152 FunctionTester T("(function(a,b) { return %_ObjectEquals(a,b); })", flags); in TEST()
[all …]
Dtest-run-jscalls.cc12 FunctionTester T("(function(foo,a) { return foo(a); })"); in TEST()
23 FunctionTester T("(function(foo,a) { return foo(a); })"); in TEST()
35 FunctionTester T("(function(foo,a) { return foo(a,3); })"); in TEST()
47 FunctionTester T("(function(foo,a) { return foo(a,\"3\"); })"); in TEST()
59 FunctionTester T("(function(a,b) { return a.foo(b,23); })"); in TEST()
69 FunctionTester T("(function(a,b) { var f = 'foo'; return a[f](b,23); })"); in TEST()
79 FunctionTester T("(function(a,b) { return foo(a,b); })"); in TEST()
90 FunctionTester T("(function(a,b) { with (a) { return foo(a,b); } })"); in TEST()
103 FunctionTester T("(function(a,b) { return foo(a,b); })"); in TEST()
113 FunctionTester T("(function(a,b) { return foo(a,b); })"); in TEST()
[all …]
Dtest-run-deopt.cc34 FunctionTester T( in TEST()
51 FunctionTester T( in TEST()
69 FunctionTester T( in TEST()
89 FunctionTester T( in TEST()
110 FunctionTester T( in TEST()
Dtest-code-stub-assembler.cc34 FunctionTester ft(descriptor, code); in TEST()
47 FunctionTester ft(descriptor, code); in TEST()
60 FunctionTester ft(descriptor, code); in TEST()
74 FunctionTester ft(descriptor, code); in TEST()
88 FunctionTester ft(descriptor, code); in TEST()
103 FunctionTester ft(descriptor, code); in TEST()
118 FunctionTester ft(descriptor, code); in TEST()
Dtest-run-jsobjects.cc12 FunctionTester T("(function(a) { return arguments; })"); in TEST()
25 FunctionTester T("(function(a) { 'use strict'; return arguments; })"); in TEST()
38 FunctionTester T("(function(a, ...args) { return args; })"); in TEST()
Dfunction-tester.h25 class FunctionTester : public InitializedHandleScope {
27 explicit FunctionTester(const char* source, uint32_t flags = 0)
38 FunctionTester(Graph* graph, int param_count) in FunctionTester() function
45 FunctionTester(const CallInterfaceDescriptor& descriptor, Handle<Code> code) in FunctionTester() function
198 FunctionTester f(graph, param_count); in ForMachineGraph()
Dtest-run-variables.cc57 FunctionTester T(buffer.start()); in RunVariableTests()
115 FunctionTester T("(function self() { return self; })"); in TEST()
Dtest-js-context-specialization.cc265 FunctionTester T( in TEST()
276 FunctionTester T( in TEST()
287 FunctionTester T( in TEST()
300 FunctionTester T( in TEST()
310 FunctionTester T( in TEST()
Dtest-run-properties.cc43 FunctionTester T(source_buffer.start(), in TypedArrayLoadHelper()
111 FunctionTester T(source_buffer.start(), in TypedArrayStoreHelper()
Dtest-run-stackcheck.cc12 FunctionTester T("(function(a,b) { return 23; })"); in TEST()
Dtest-run-stubs.cc52 FunctionTester ft(&graph, 4); in TEST()
Dtest-changes-lowering.cc52 function = FunctionTester::ForMachineGraph(this->graph()); in CallWithPotentialGC()
Dtest-simplified-lowering.cc83 Handle<JSFunction> fun = FunctionTester::ForMachineGraph(this->graph(), 0); in CallWithPotentialGC()