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

Unified Diff: runtime/vm/object.cc

Issue 1358773002: Load the native call wrapper via Thread. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index e5b501fc77398f4b51d0da016fc01d613dcff060..2366142b7a56dacf9e74fbdcb5ace7e723b849d9 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -11036,7 +11036,6 @@ void ObjectPool::PrintJSONImpl(JSONStream* stream, bool ref) const {
imm = RawValueAt(i);
jsarr.AddValue64(imm);
break;
- case ObjectPool::kExternalLabel:
case ObjectPool::kNativeEntry:
imm = RawValueAt(i);
jsarr.AddValueF("0x%" Px, imm);
@@ -11049,16 +11048,6 @@ void ObjectPool::PrintJSONImpl(JSONStream* stream, bool ref) const {
}
-static const char* DescribeExternalLabel(uword addr) {
- const char* stub_name = StubCode::NameOfStub(addr);
- if (stub_name != NULL) {
- return stub_name;
- }
-
- return "UNKNOWN";
-}
-
-
void ObjectPool::DebugPrint() const {
THR_Print("Object Pool: {\n");
for (intptr_t i = 0; i < Length(); i++) {
@@ -11069,10 +11058,6 @@ void ObjectPool::DebugPrint() const {
THR_Print("0x%" Px " %s (obj)\n",
reinterpret_cast<uword>(obj),
Object::Handle(obj).ToCString());
- } else if (InfoAt(i) == kExternalLabel) {
- uword addr = RawValueAt(i);
- THR_Print("0x%" Px " (external label: %s)\n",
- addr, DescribeExternalLabel(addr));
} else if (InfoAt(i) == kNativeEntry) {
THR_Print("0x%" Px " (native entry)\n", RawValueAt(i));
} else {
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698