Index: src/ppc/frames-ppc.cc |
diff --git a/src/ppc/frames-ppc.cc b/src/ppc/frames-ppc.cc |
index a09bbeb73174afdd13a4cf2a781991976ca8fa54..1e54c4696322f175b018c6313bdb2f79c4a0f80f 100644 |
--- a/src/ppc/frames-ppc.cc |
+++ b/src/ppc/frames-ppc.cc |
@@ -21,22 +21,16 @@ namespace internal { |
Register JavaScriptFrame::fp_register() { return v8::internal::fp; } |
Register JavaScriptFrame::context_register() { return cp; } |
Register JavaScriptFrame::constant_pool_pointer_register() { |
- UNREACHABLE(); |
- return no_reg; |
+ DCHECK(FLAG_enable_embedded_constant_pool); |
+ return kConstantPoolRegister; |
} |
Register StubFailureTrampolineFrame::fp_register() { return v8::internal::fp; } |
Register StubFailureTrampolineFrame::context_register() { return cp; } |
Register StubFailureTrampolineFrame::constant_pool_pointer_register() { |
- UNREACHABLE(); |
- return no_reg; |
-} |
- |
- |
-Object*& ExitFrame::constant_pool_slot() const { |
- UNREACHABLE(); |
- return Memory::Object_at(NULL); |
+ DCHECK(FLAG_enable_embedded_constant_pool); |
+ return kConstantPoolRegister; |
} |
} // namespace internal |
} // namespace v8 |