| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 874f6c31dddec3ee6ef0404552497980760d61fb..7609f0290d85c62d3aa4fc1f252b572aecf34d93 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -795,6 +795,10 @@ bool JSObject::IsDirty() {
|
| }
|
|
|
|
|
| +#if defined(__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ <= 4)
|
| +// Work around bad optimization by GCC 4.4.6 on PPC Linux
|
| +#pragma GCC optimize "O0"
|
| +#endif
|
| MaybeHandle<Object> Object::GetElementWithReceiver(Isolate* isolate,
|
| Handle<Object> object,
|
| Handle<Object> receiver,
|
| @@ -849,6 +853,9 @@ MaybeHandle<Object> Object::GetElementWithReceiver(Isolate* isolate,
|
|
|
| return isolate->factory()->undefined_value();
|
| }
|
| +#if defined(__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ <= 4)
|
| +#pragma GCC reset_options
|
| +#endif
|
|
|
|
|
| Map* Object::GetRootMap(Isolate* isolate) {
|
| @@ -11508,6 +11515,15 @@ void Code::Disassemble(const char* name, OStream& os) { // NOLINT
|
| it.rinfo()->Print(GetIsolate(), os);
|
| }
|
| os << "\n";
|
| +
|
| + if (FLAG_enable_ool_constant_pool) {
|
| + ConstantPoolArray *pool = constant_pool();
|
| + if (pool->length()) {
|
| + os << "Constant Pool\n";
|
| + pool->Print(os);
|
| + os << "\n";
|
| + }
|
| + }
|
| }
|
| #endif // ENABLE_DISASSEMBLER
|
|
|
|
|