Chromium Code Reviews| Index: src/ia32/assembler-ia32.h |
| diff --git a/src/ia32/assembler-ia32.h b/src/ia32/assembler-ia32.h |
| index 4d9562ec01870fd62a9fc92409f247abd1c6c956..efb5521e92d4929f979669822dab53f87a2193ed 100644 |
| --- a/src/ia32/assembler-ia32.h |
| +++ b/src/ia32/assembler-ia32.h |
| @@ -1,4 +1,4 @@ |
| -// Copyright (c) 1994-2006 Sun Microsystems Inc. |
|
Michael Starzinger
2012/10/10 14:19:29
Looks like a typo?
danno
2012/10/17 10:04:44
Done.
|
| +// Copyright (c) 1994-2006 Sun Microsystems |
| // All Rights Reserved. |
| // |
| // Redistribution and use in source and binary forms, with or without |
| @@ -601,6 +601,8 @@ class Assembler : public AssemblerBase { |
| inline static Address target_address_at(Address pc); |
| inline static void set_target_address_at(Address pc, Address target); |
| + inline static Address target_address_from_return_address(Address pc); |
|
Michael Starzinger
2012/10/10 14:19:29
See comment in ARM assembler.
danno
2012/10/17 10:04:44
Done.
|
| + |
| // This sets the branch destination (which is in the instruction on x86). |
| // This is for calls and branches within generated code. |
| inline static void deserialization_set_special_target_at( |
| @@ -629,6 +631,7 @@ class Assembler : public AssemblerBase { |
| static const int kPatchDebugBreakSlotAddressOffset = 1; // JMP imm32. |
| static const int kCallInstructionLength = 5; |
| + static const int kPatchDebugBreakSlotReturnOffset = kPointerSize; |
| static const int kJSReturnSequenceLength = 6; |
| // The debug break slot must be able to contain a call instruction. |