Revision: 4614
Author: sgje...@chromium.org
Date: Fri May 7 04:55:24 2010
Log: Remove unused function in ia32 code generator
Review URL: http://codereview.chromium.org/1996006
http://code.google.com/p/v8/source/detail?r=4614
Modified:
/branches/bleeding_edge/src/ia32/codegen-ia32.cc
/branches/bleeding_edge/src/ia32/codegen-ia32.h
=======================================
--- /branches/bleeding_edge/src/ia32/codegen-ia32.cc Fri May 7 04:25:29
2010
+++ /branches/bleeding_edge/src/ia32/codegen-ia32.cc Fri May 7 04:55:24
2010
@@ -827,14 +827,6 @@
in_spilled_code_ = was_in_spilled_code;
}
-
-
-void CodeGenerator::UnloadReference(Reference* ref) {
- // Pop a reference from the stack while preserving TOS.
- Comment cmnt(masm_, "[ UnloadReference");
- frame_->Nip(ref->size());
- ref->set_unloaded();
-}
// ECMA-262, section 9.2, page 30: ToBoolean(). Pop the top of stack and
=======================================
--- /branches/bleeding_edge/src/ia32/codegen-ia32.h Tue May 4 04:06:59 2010
+++ /branches/bleeding_edge/src/ia32/codegen-ia32.h Fri May 7 04:55:24 2010
@@ -48,7 +48,7 @@
// A reference is a C++ stack-allocated object that puts a
// reference on the virtual frame. The reference may be consumed
-// by GetValue, TakeValue, SetValue, and Codegen::UnloadReference.
+// by GetValue, TakeValue and SetValue.
// When the lifetime (scope) of a valid reference ends, it must have
// been consumed, and be in state UNLOADED.
class Reference BASE_EMBEDDED {
@@ -414,7 +414,6 @@
// The following are used by class Reference.
void LoadReference(Reference* ref);
- void UnloadReference(Reference* ref);
static Operand ContextOperand(Register context, int index) {
return Operand(context, Context::SlotOffset(index));
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev