< prev index next >

src/hotspot/cpu/zero/stack_zero.hpp

Print this page
rev 47445 : 8171853: Remove Shark compiler

@@ -119,11 +119,10 @@
 };
 
 
 class EntryFrame;
 class InterpreterFrame;
-class SharkFrame;
 class FakeStubFrame;
 
 //
 // |  ...               |
 // +--------------------+  ------------------

@@ -149,11 +148,10 @@
   };
 
   enum FrameType {
     ENTRY_FRAME = 1,
     INTERPRETER_FRAME,
-    SHARK_FRAME,
     FAKE_STUB_FRAME
   };
 
  protected:
   intptr_t *addr_of_word(int offset) const {

@@ -178,13 +176,10 @@
     return type() == ENTRY_FRAME;
   }
   bool is_interpreter_frame() const {
     return type() == INTERPRETER_FRAME;
   }
-  bool is_shark_frame() const {
-    return type() == SHARK_FRAME;
-  }
   bool is_fake_stub_frame() const {
     return type() == FAKE_STUB_FRAME;
   }
 
  public:

@@ -194,14 +189,10 @@
   }
   InterpreterFrame *as_interpreter_frame() const {
     assert(is_interpreter_frame(), "should be");
     return (InterpreterFrame *) this;
   }
-  SharkFrame *as_shark_frame() const {
-    assert(is_shark_frame(), "should be");
-    return (SharkFrame *) this;
-  }
   FakeStubFrame *as_fake_stub_frame() const {
     assert(is_fake_stub_frame(), "should be");
     return (FakeStubFrame *) this;
   }
 
< prev index next >