diff src/cpu/x86/vm/jvmciCodeInstaller_x86.cpp @ 23310:e5b5170606a2

8149689: [JVMCI] CodeInstaller::pd_patch_DataSectionReference should be able to throw exceptions Reviewed-by: kvn
author twisti
date Thu, 11 Feb 2016 12:29:40 -1000
parents 510846133438
children f8178417d018
line wrap: on
line diff
--- a/src/cpu/x86/vm/jvmciCodeInstaller_x86.cpp	Mon Feb 15 11:45:37 2016 -0800
+++ b/src/cpu/x86/vm/jvmciCodeInstaller_x86.cpp	Thu Feb 11 12:29:40 2016 -1000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -99,7 +99,7 @@
   }
 }
 
-void CodeInstaller::pd_patch_DataSectionReference(int pc_offset, int data_offset) {
+void CodeInstaller::pd_patch_DataSectionReference(int pc_offset, int data_offset, TRAPS) {
   address pc = _instructions->start() + pc_offset;
 
   address operand = Assembler::locate_operand(pc, Assembler::disp32_operand);