diff src/cpu/x86/vm/graalRuntime_x86.cpp @ 9591:0381c7937e7a

replaced create_null_pointer_exception assembler stub with compiled stub (GRAAL-81)
author Doug Simon <doug.simon@oracle.com>
date Mon, 06 May 2013 23:42:17 +0200
parents 5f9c41cd3b1e
children efb8c1918ea5
line wrap: on
line diff
--- a/src/cpu/x86/vm/graalRuntime_x86.cpp	Mon May 06 22:37:00 2013 +0200
+++ b/src/cpu/x86/vm/graalRuntime_x86.cpp	Mon May 06 23:42:17 2013 +0200
@@ -625,18 +625,6 @@
   OopMapSet* oop_maps = NULL;
   switch (id) {
 
-    case create_null_pointer_exception_id: {
-		__ enter();
-		oop_maps = new OopMapSet();
-		OopMap* oop_map = save_live_registers(sasm, 0);
-		int call_offset = __ call_RT(rax, noreg, (address)create_null_exception, 0);
-		oop_maps->add_gc_map(call_offset, oop_map);
-		restore_live_registers_except_rax(sasm);
-		__ leave();
-		__ ret(0);
-      break;
-    }
-
     case create_out_of_bounds_exception_id: {
 		__ enter();
 		oop_maps = new OopMapSet();