Home
last modified time | relevance | path

Searched refs:CaseNode (Results 1 – 4 of 4) sorted by relevance

/external/v8/src/wasm/
Dswitch-logic.cc12 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()
Dswitch-logic.h15 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);
Dasm-wasm-builder.cc279 void HandleCase(CaseNode* node, in HandleCase()
380 CaseNode* root = OrderCases(&cases, zone_); in VisitSwitchStatement()
/external/v8/test/unittests/wasm/
Dswitch-logic-unittest.cc13 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()