Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: src/IceTargetLoweringX8632.h

Issue 1605103002: Subzero. X86. Refactors Address Mode formation. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: make format Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceTargetLoweringARM32.cpp ('k') | src/IceTargetLoweringX8632.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTargetLoweringX8632.h
diff --git a/src/IceTargetLoweringX8632.h b/src/IceTargetLoweringX8632.h
index 5b2d6b0b61dcb4a61b37404a9a27fa274f58ead4..39e2a7c357842c609399d1d809fa993061590097 100644
--- a/src/IceTargetLoweringX8632.h
+++ b/src/IceTargetLoweringX8632.h
@@ -51,15 +51,15 @@ public:
protected:
void _add_sp(Operand *Adjustment);
void _mov_sp(Operand *NewValue);
- Traits::X86OperandMem *_sandbox_mem_reference(X86OperandMem *) {
- llvm::report_fatal_error("sandbox mem reference for x86-32.");
- }
+ Traits::X86OperandMem *_sandbox_mem_reference(X86OperandMem *Mem);
void _sub_sp(Operand *Adjustment);
void _link_bp();
void _unlink_bp();
void _push_reg(Variable *Reg);
- void initSandbox() {}
+ void initRebasePtr();
+ void initSandbox();
+ bool legalizeOptAddrForSandbox(OptAddr *Addr);
void emitSandboxedReturn();
void lowerIndirectJump(Variable *JumpTarget);
void emitGetIP(CfgNode *Node);
« no previous file with comments | « src/IceTargetLoweringARM32.cpp ('k') | src/IceTargetLoweringX8632.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698