Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(588)

Unified Diff: src/objects.cc

Issue 422063005: Contribution of PowerPC port. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: re-upload - catch up to 8/19 level Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/hydrogen-bch.cc ('K') | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« src/hydrogen-bch.cc ('K') | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698