Remove unused Temp() function form LChunkBuilder.
Review URL: http://codereview.chromium.org/6217003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6273 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
43b0399505
commit
c1d4d89a31
@ -676,13 +676,6 @@ LInstruction* LChunkBuilder::Define(LInstruction* instr, LUnallocated* result) {
|
||||
}
|
||||
|
||||
|
||||
LOperand* LChunkBuilder::Temp() {
|
||||
LUnallocated* operand = new LUnallocated(LUnallocated::NONE);
|
||||
allocator_->RecordTemporary(operand);
|
||||
return operand;
|
||||
}
|
||||
|
||||
|
||||
LUnallocated* LChunkBuilder::TempRegister() {
|
||||
LUnallocated* operand = new LUnallocated(LUnallocated::MUST_HAVE_REGISTER);
|
||||
allocator_->RecordTemporary(operand);
|
||||
|
@ -2014,8 +2014,6 @@ class LChunkBuilder BASE_EMBEDDED {
|
||||
|
||||
LEnvironment* CreateEnvironment(HEnvironment* hydrogen_env);
|
||||
|
||||
// Temporary operand that may be a memory location.
|
||||
LOperand* Temp();
|
||||
// Temporary operand that must be in a register.
|
||||
LUnallocated* TempRegister();
|
||||
LOperand* FixedTemp(Register reg);
|
||||
|
@ -677,13 +677,6 @@ LInstruction* LChunkBuilder::Define(LTemplateInstruction<1>* instr,
|
||||
}
|
||||
|
||||
|
||||
LOperand* LChunkBuilder::Temp() {
|
||||
LUnallocated* operand = new LUnallocated(LUnallocated::NONE);
|
||||
allocator_->RecordTemporary(operand);
|
||||
return operand;
|
||||
}
|
||||
|
||||
|
||||
LUnallocated* LChunkBuilder::TempRegister() {
|
||||
LUnallocated* operand = new LUnallocated(LUnallocated::MUST_HAVE_REGISTER);
|
||||
allocator_->RecordTemporary(operand);
|
||||
|
@ -2084,8 +2084,6 @@ class LChunkBuilder BASE_EMBEDDED {
|
||||
|
||||
LEnvironment* CreateEnvironment(HEnvironment* hydrogen_env);
|
||||
|
||||
// Temporary operand that may be a memory location.
|
||||
LOperand* Temp();
|
||||
// Temporary operand that must be in a register.
|
||||
LUnallocated* TempRegister();
|
||||
LOperand* FixedTemp(Register reg);
|
||||
|
Loading…
Reference in New Issue
Block a user