v8/test
Daniel Clifford 3d2cb0b4ae [torque]: Implement Generics for Builtins and Macros
Including specialization, e.g.:

  // Declare parameterized generic
  macro GenericMacroTest<T: type>(param: T): Object {
    return Undefined;
  }

  // Declare specialization of generic
  GenericMacroTest<Object>(param: Object): Object {
    return param;
  }

  ...
  assert(GenericMacroTest<Smi>(0) == Undefined);
  assert(GenericMacroTest<Smi>(1) == Undefined);
  assert(GenericMacroTest<Object>(Null) == Null);
  assert(GenericMacroTest<Object>(False) == False);
  ...

Known issue: specialization doesn't rigorously checked to verify
that specialization signature precisely matches generic declaration.

Change-Id: I9d9d96da4c5c8c9a76550844680e9e133a5edaed
Reviewed-on: https://chromium-review.googlesource.com/1043986
Commit-Queue: Daniel Clifford <danno@chromium.org>
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53203}
2018-05-16 10:29:48 +00:00
..
benchmarks Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
cctest [torque]: Implement Generics for Builtins and Macros 2018-05-16 10:29:48 +00:00
common [wasm] Make wasm::ValueType independent of the MachineRepresentation 2018-05-07 11:54:56 +00:00
debugger [wasm] Create module object in async compilation earlier. 2018-05-09 07:54:56 +00:00
fuzzer [wasm] Make wasm::ValueType independent of the MachineRepresentation 2018-05-07 11:54:56 +00:00
inspector [inspector] implement console.countReset() 2018-05-09 14:59:04 +00:00
intl Implementing Intl.Locale proposal. 2018-05-15 22:25:02 +00:00
js-perf-test Add a first performance test for DataView 2018-05-15 08:45:54 +00:00
memory Revert "[tools] Add benchmark owners to the config" 2018-05-14 09:52:33 +00:00
message [builtins] Fix error message in Proxy set trap 2018-05-14 16:37:20 +00:00
mjsunit Fix array.indexOf for negative fromIndex 2018-05-16 07:31:46 +00:00
mkgrokdump Disable embedded builtins 2018-05-08 11:21:37 +00:00
mozilla [test] Reverse sense of wasm_traps variant 2018-05-08 17:49:14 +00:00
preparser Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
test262 [test] Reverse sense of wasm_traps variant 2018-05-08 17:49:14 +00:00
torque [torque]: Implement Generics for Builtins and Macros 2018-05-16 10:29:48 +00:00
unittests [turbofan] Add --trace-turbo-filter 2018-05-16 09:33:15 +00:00
wasm-spec-tests [wasm] Update spec tests 2018-04-25 12:02:21 +00:00
webkit [test] Reverse sense of wasm_traps variant 2018-05-08 17:49:14 +00:00
BUILD.gn Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00