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

Side by Side Diff: runtime/vm/object.cc

Issue 1672303002: Fix --no-lazy-dispatchers in the JIT. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | runtime/vm/stub_code_arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/object.h" 5 #include "vm/object.h"
6 6
7 #include "include/dart_api.h" 7 #include "include/dart_api.h"
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 #include "vm/cpu.h" 10 #include "vm/cpu.h"
(...skipping 11363 matching lines...) Expand 10 before | Expand all | Expand 10 after
11374 break; 11374 break;
11375 default: 11375 default:
11376 UNREACHABLE(); 11376 UNREACHABLE();
11377 } 11377 }
11378 } 11378 }
11379 } 11379 }
11380 } 11380 }
11381 11381
11382 11382
11383 void ObjectPool::DebugPrint() const { 11383 void ObjectPool::DebugPrint() const {
11384 THR_Print("Object Pool: {\n"); 11384 THR_Print("Object Pool: 0x%" Px "{\n", reinterpret_cast<uword>(raw()));
11385 for (intptr_t i = 0; i < Length(); i++) { 11385 for (intptr_t i = 0; i < Length(); i++) {
11386 intptr_t offset = OffsetFromIndex(i); 11386 intptr_t offset = OffsetFromIndex(i);
11387 THR_Print(" %" Pd " PP+0x%" Px ": ", i, offset); 11387 THR_Print(" %" Pd " PP+0x%" Px ": ", i, offset);
11388 if (InfoAt(i) == kTaggedObject) { 11388 if (InfoAt(i) == kTaggedObject) {
11389 RawObject* obj = ObjectAt(i); 11389 RawObject* obj = ObjectAt(i);
11390 THR_Print("0x%" Px " %s (obj)\n", 11390 THR_Print("0x%" Px " %s (obj)\n",
11391 reinterpret_cast<uword>(obj), 11391 reinterpret_cast<uword>(obj),
11392 Object::Handle(obj).ToCString()); 11392 Object::Handle(obj).ToCString());
11393 } else if (InfoAt(i) == kNativeEntry) { 11393 } else if (InfoAt(i) == kNativeEntry) {
11394 THR_Print("0x%" Px " (native entry)\n", RawValueAt(i)); 11394 THR_Print("0x%" Px " (native entry)\n", RawValueAt(i));
(...skipping 11554 matching lines...) Expand 10 before | Expand all | Expand 10 after
22949 return tag_label.ToCString(); 22949 return tag_label.ToCString();
22950 } 22950 }
22951 22951
22952 22952
22953 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { 22953 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const {
22954 Instance::PrintJSONImpl(stream, ref); 22954 Instance::PrintJSONImpl(stream, ref);
22955 } 22955 }
22956 22956
22957 22957
22958 } // namespace dart 22958 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/stub_code_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698