Created
March 6, 2015 17:00
-
-
Save bjfish/f0d7bdbdc7d52150d409 to your computer and use it in GitHub Desktop.
Unique IDs in Graal Output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this method to RubyNode - | |
public static void notDesignedForCompilation(String message) { | |
CompilerAsserts.neverPartOfCompilation(message); | |
} | |
Add Unique ID to notDesignedForCompilation method in All Methods - | |
@Specialization(guards = {"!isRubyModule", "!isRubyBignum"}) | |
public Object alias(RubyBasicObject object) { | |
notDesignedForCompilation("5c0619014d0a4e0f9880499ff32473e1"); | |
Graal Output | |
[truffle] opt fail parse_string:json_test.rb:1068 |Reason com.oracle.graal.nodes.util.GraphUtil$2: This code path should never be part of a compilation. [14342|Const(50ccd29854f84c51ab8b57d2c17deb1e)] | |
[truffle] opt fail parse_object:json_test.rb:1168 |Reason com.oracle.graal.nodes.util.GraphUtil$2: This code path should never be part of a compilation. [29103|Const(f5e9acd064e245d5b35a193003490752)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
GraalOutput scroll all the way to the right too see unique id:
This code path should never be part of a compilation. [14342|Const(50ccd29854f84c51ab8b57d2c17deb1e)]