| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 832a682a0ef34bc21346fca797aa16fa493852d3..a868461dad15ada880e812f5d8fb9431b08c423e 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -4189,6 +4189,18 @@ bool Code::is_debug_stub() {
|
| }
|
|
|
|
|
| +ConstantPoolArray* Code::constant_pool() {
|
| + return ConstantPoolArray::cast(READ_FIELD(this, kConstantPoolOffset));
|
| +}
|
| +
|
| +
|
| +void Code::set_constant_pool(Object* value) {
|
| + ASSERT(value->IsConstantPoolArray());
|
| + WRITE_FIELD(this, kConstantPoolOffset, value);
|
| + WRITE_BARRIER(GetHeap(), this, kConstantPoolOffset, value);
|
| +}
|
| +
|
| +
|
| Code::Flags Code::ComputeFlags(Kind kind,
|
| InlineCacheState ic_state,
|
| ExtraICState extra_ic_state,
|
|
|