Searched refs:CaseNode (Results 1 – 4 of 4) sorted by relevance
/external/v8/src/wasm/ |
D | switch-logic.cc | 12 CaseNode* CreateBst(ZoneVector<CaseNode*>* nodes, size_t begin, size_t end) { in CreateBst() 19 CaseNode* root = nodes->at(root_index); in CreateBst() 29 CaseNode* OrderCases(ZoneVector<int>* cases, Zone* zone) { in OrderCases() 43 ZoneVector<CaseNode*> nodes(zone); in OrderCases() 50 nodes.push_back(new (zone) CaseNode(begin, end)); in OrderCases() 55 CaseNode(cases->at(curr_pos), cases->at(curr_pos))); in OrderCases()
|
D | switch-logic.h | 15 struct CaseNode : public ZoneObject { struct 18 CaseNode* left; argument 19 CaseNode* right; argument 20 CaseNode(int begin, int end) : begin(begin), end(end) { in CaseNode() function 26 CaseNode* OrderCases(ZoneVector<int>* cases, Zone* zone);
|
D | asm-wasm-builder.cc | 279 void HandleCase(CaseNode* node, in HandleCase() 380 CaseNode* root = OrderCases(&cases, zone_); in VisitSwitchStatement()
|
/external/v8/test/unittests/wasm/ |
D | switch-logic-unittest.cc | 13 void CheckNodeValues(CaseNode* node, int begin, int end) { in CheckNodeValues() 26 CaseNode* root = OrderCases(&values, zone()); in TEST_F() 39 CaseNode* root = OrderCases(&values, zone()); in TEST_F() 65 CaseNode* root = OrderCases(&values, zone()); in TEST_F() 75 CaseNode* root = OrderCases(&values, zone()); in TEST_F() 83 CaseNode* root = OrderCases(&values, zone()); in TEST_F()
|