summaryrefslogtreecommitdiff
path: root/tool/ruby_vm/models/yjit/example_instructions.rb
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2021-07-15 14:30:43 -0700
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:38 -0400
commit41f405c486a01c1a16c3f102c11d41c8fbbafe60 (patch)
tree3bc1a173f6a634071bb62533d25d741d3b156d34 /tool/ruby_vm/models/yjit/example_instructions.rb
parent84a1e04e5873e511c8454983c3c34c6494bc5491 (diff)
Remove the scraper
Now that we're using the jit function entry point, we don't need the scraper. Thank you for your service, scraper. ❤️
Diffstat (limited to 'tool/ruby_vm/models/yjit/example_instructions.rb')
-rw-r--r--tool/ruby_vm/models/yjit/example_instructions.rb69
1 files changed, 0 insertions, 69 deletions
diff --git a/tool/ruby_vm/models/yjit/example_instructions.rb b/tool/ruby_vm/models/yjit/example_instructions.rb
deleted file mode 100644
index 16d6633af5..0000000000
--- a/tool/ruby_vm/models/yjit/example_instructions.rb
+++ /dev/null
@@ -1,69 +0,0 @@
-#! /your/favourite/path/to/ruby
-# -*- Ruby -*-
-# -*- frozen_string_literal: true; -*-
-# -*- warn_indent: true; -*-
-#
-# Copyright (c) 2020 Wu, Alan. All rights reserved.
-#
-# This file is a part of the programming language Ruby. Permission is hereby
-# granted, to either redistribute and/or modify this file, provided that the
-# conditions mentioned in the file COPYING are met. Consult the file for
-# details.
-
-class RubyVM::YJIT::ExampleInstructions
- include RubyVM::CEscape
-
- attr_reader :name
-
- def initialize(name)
- @name = name
- end
-
- def pretty_name
- return sprintf "%s(...)(...)(...)", @name
- end
-
- def jump_destination
- return @orig.name
- end
-
- def bin
- return sprintf "BIN(%s)", @name
- end
-
- def width
- 1
- end
-
- def operands_info
- ""
- end
-
- def rets
- return ['...']
- end
-
- def pops
- return ['...']
- end
-
- def attributes
- return []
- end
-
- def has_attribute? *;
- return false
- end
-
- def handles_sp?
- false
- end
-
- def always_leaf?
- false
- end
-
- def self.to_a
- [new('yjit_call_example_with_ec')]
- end
-end