/external/v8/test/cctest/compiler/ |
D | test-run-inlining.cc | 63 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 …]
|
D | test-run-jsops.cc | 12 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 …]
|
D | test-run-jsexceptions.cc | 12 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 …]
|
D | test-run-jsbranches.cc | 12 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 …]
|
D | test-run-intrinsics.cc | 15 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 …]
|
D | test-run-jscalls.cc | 12 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 …]
|
D | test-run-deopt.cc | 34 FunctionTester T( in TEST() 51 FunctionTester T( in TEST() 69 FunctionTester T( in TEST() 89 FunctionTester T( in TEST() 110 FunctionTester T( in TEST()
|
D | test-code-stub-assembler.cc | 34 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()
|
D | test-run-jsobjects.cc | 12 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()
|
D | function-tester.h | 25 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()
|
D | test-run-variables.cc | 57 FunctionTester T(buffer.start()); in RunVariableTests() 115 FunctionTester T("(function self() { return self; })"); in TEST()
|
D | test-js-context-specialization.cc | 265 FunctionTester T( in TEST() 276 FunctionTester T( in TEST() 287 FunctionTester T( in TEST() 300 FunctionTester T( in TEST() 310 FunctionTester T( in TEST()
|
D | test-run-properties.cc | 43 FunctionTester T(source_buffer.start(), in TypedArrayLoadHelper() 111 FunctionTester T(source_buffer.start(), in TypedArrayStoreHelper()
|
D | test-run-stackcheck.cc | 12 FunctionTester T("(function(a,b) { return 23; })"); in TEST()
|
D | test-run-stubs.cc | 52 FunctionTester ft(&graph, 4); in TEST()
|
D | test-changes-lowering.cc | 52 function = FunctionTester::ForMachineGraph(this->graph()); in CallWithPotentialGC()
|
D | test-simplified-lowering.cc | 83 Handle<JSFunction> fun = FunctionTester::ForMachineGraph(this->graph(), 0); in CallWithPotentialGC()
|