| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 307bcbf13cdc539eaf041e835fa97910e0caa34c..4ca0e077038b473299dd72f1187da9d94005e3f2 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -752,6 +752,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,
|
| @@ -806,6 +810,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) {
|
| @@ -11213,6 +11220,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
|
|
|
|
|