From 121807654a23730059ecbed560f93b20a1a70af7 Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Thu, 15 Oct 2015 15:06:49 +0300 Subject: [PATCH] Add generalized methods to InlineMarker To be able to use them in the future compiler without breaking binary compatibility --- .../src/kotlin/jvm/internal/InlineMarker.java | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/core/runtime.jvm/src/kotlin/jvm/internal/InlineMarker.java b/core/runtime.jvm/src/kotlin/jvm/internal/InlineMarker.java index 34d5f51317f..d3f30a557dd 100644 --- a/core/runtime.jvm/src/kotlin/jvm/internal/InlineMarker.java +++ b/core/runtime.jvm/src/kotlin/jvm/internal/InlineMarker.java @@ -17,26 +17,21 @@ package kotlin.jvm.internal; public class InlineMarker { + public static void mark(int i) { + } + + public static void mark(String name) { + } public static void beforeInlineCall() { - } public static void afterInlineCall() { - - } - - //TODO: remove on ABI increment, kept only for compability - @Deprecated - public static void goToTryCatchBlockEnd() { - } public static void finallyStart(int finallyDepth) { - } public static void finallyEnd(int finallyDepth) { - } -} \ No newline at end of file +}