Skip to content

Commit

Permalink
Opt: Remove commented out duplicated type_id function
Browse files Browse the repository at this point in the history
This code was wrongly added by KhronosGroup#693.
  • Loading branch information
pierremoreau authored and dneto0 committed Dec 18, 2017
1 parent 0d8ea48 commit f359635
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions source/opt/function.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,6 @@ class Function {
// Returns function's id
inline uint32_t result_id() const { return def_inst_->result_id(); }

// // Returns function's type id
// inline uint32_t type_id() const { return
// def_inst_->GetSingleWordInOperand(1u); }

// Returns function's return type id
inline uint32_t type_id() const { return def_inst_->type_id(); }

Expand Down

0 comments on commit f359635

Please sign in to comment.