Fix compilation failure on ARM in r12685.
R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/11103004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12686 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
2c7b630d09
commit
8b299a5b0e
@ -677,7 +677,7 @@ class ELF BASE_EMBEDDED {
|
|||||||
{ 0x7f, 'E', 'L', 'F', 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0};
|
{ 0x7f, 'E', 'L', 'F', 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0};
|
||||||
#elif defined(V8_TARGET_ARCH_X64)
|
#elif defined(V8_TARGET_ARCH_X64)
|
||||||
const uint8_t ident[16] =
|
const uint8_t ident[16] =
|
||||||
{ 0x7f, 'E', 'L', 'F', 2, 1, 1, 0, 0, 0 , 0, 0, 0, 0, 0, 0};
|
{ 0x7f, 'E', 'L', 'F', 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0};
|
||||||
#else
|
#else
|
||||||
#error Unsupported target architecture.
|
#error Unsupported target architecture.
|
||||||
#endif
|
#endif
|
||||||
@ -1110,6 +1110,8 @@ class DebugInfoSection : public DebugSection {
|
|||||||
w->Write<uint8_t>(DW_OP_reg5); // The frame pointer's here on ia32
|
w->Write<uint8_t>(DW_OP_reg5); // The frame pointer's here on ia32
|
||||||
#elif defined(V8_TARGET_ARCH_X64)
|
#elif defined(V8_TARGET_ARCH_X64)
|
||||||
w->Write<uint8_t>(DW_OP_reg6); // and here on x64.
|
w->Write<uint8_t>(DW_OP_reg6); // and here on x64.
|
||||||
|
#elif defined(V8_TARGET_ARCH_ARM)
|
||||||
|
UNIMPLEMENTED();
|
||||||
#else
|
#else
|
||||||
#error Unsupported target architecture.
|
#error Unsupported target architecture.
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user