| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index af50894557d1059333af130452d0f0930f14ba72..da58b324185c54f6612a28d34ef93777be75f1a1 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2011 the V8 project authors. All rights reserved.
|
| +// Copyright 2010 the V8 project authors. All rights reserved.
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| // met:
|
| @@ -2862,34 +2862,6 @@ Heap* Map::heap() {
|
| }
|
|
|
|
|
| -Heap* Code::heap() {
|
| - // NOTE: address() helper is not used to save one instruction.
|
| - Heap* heap = Page::FromAddress(reinterpret_cast<Address>(this))->heap_;
|
| - ASSERT(heap != NULL);
|
| - ASSERT(heap->isolate() == Isolate::Current());
|
| - return heap;
|
| -}
|
| -
|
| -
|
| -Isolate* Code::isolate() {
|
| - return heap()->isolate();
|
| -}
|
| -
|
| -
|
| -Heap* JSGlobalPropertyCell::heap() {
|
| - // NOTE: address() helper is not used to save one instruction.
|
| - Heap* heap = Page::FromAddress(reinterpret_cast<Address>(this))->heap_;
|
| - ASSERT(heap != NULL);
|
| - ASSERT(heap->isolate() == Isolate::Current());
|
| - return heap;
|
| -}
|
| -
|
| -
|
| -Isolate* JSGlobalPropertyCell::isolate() {
|
| - return heap()->isolate();
|
| -}
|
| -
|
| -
|
| Object* Code::GetObjectFromEntryAddress(Address location_of_address) {
|
| return HeapObject::
|
| FromAddress(Memory::Address_at(location_of_address) - Code::kHeaderSize);
|
| @@ -3057,6 +3029,10 @@ BOOL_GETTER(SharedFunctionInfo,
|
| kHasOnlySimpleThisPropertyAssignments)
|
| BOOL_ACCESSORS(SharedFunctionInfo,
|
| compiler_hints,
|
| + try_full_codegen,
|
| + kTryFullCodegen)
|
| +BOOL_ACCESSORS(SharedFunctionInfo,
|
| + compiler_hints,
|
| allows_lazy_compilation,
|
| kAllowLazyCompilation)
|
| BOOL_ACCESSORS(SharedFunctionInfo,
|
|
|