Index: src/register-allocator.cc |
=================================================================== |
--- src/register-allocator.cc (revision 7267) |
+++ src/register-allocator.cc (working copy) |
@@ -40,19 +40,13 @@ |
Result::Result(Register reg, TypeInfo info) { |
ASSERT(reg.is_valid() && !RegisterAllocator::IsReserved(reg)); |
- CodeGeneratorScope::Current()->allocator()->Use(reg); |
+ CodeGeneratorScope::Current(Isolate::Current())->allocator()->Use(reg); |
value_ = TypeField::encode(REGISTER) |
| TypeInfoField::encode(info.ToInt()) |
| DataField::encode(reg.code_); |
} |
-Result::ZoneObjectList* Result::ConstantList() { |
- static ZoneObjectList list(10); |
- return &list; |
-} |
- |
- |
// ------------------------------------------------------------------------- |
// RegisterAllocator implementation. |