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

Unified Diff: runtime/vm/object.cc

Issue 1756403002: VM: Add smi fast path operations for precompiled code (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: addressed comments 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/raw_object.h » ('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 d92562b8489e103e6084159d5cb24c62589eea1d..1da88d4e4ed66c50bc3352c940fe16df2d86df65 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -11501,7 +11501,7 @@ void Stackmap::SetBit(intptr_t bit_index, bool value) const {
RawStackmap* Stackmap::New(intptr_t pc_offset,
BitmapBuilder* bmap,
- intptr_t register_bit_count) {
+ intptr_t slow_path_bit_count) {
ASSERT(Object::stackmap_class() != Class::null());
ASSERT(bmap != NULL);
Stackmap& result = Stackmap::Handle();
@@ -11533,13 +11533,13 @@ RawStackmap* Stackmap::New(intptr_t pc_offset,
for (intptr_t i = 0; i < length; ++i) {
result.SetBit(i, bmap->Get(i));
}
- result.SetRegisterBitCount(register_bit_count);
+ result.SetSlowPathBitCount(slow_path_bit_count);
return result.raw();
}
RawStackmap* Stackmap::New(intptr_t length,
- intptr_t register_bit_count,
+ intptr_t slow_path_bit_count,
intptr_t pc_offset) {
ASSERT(Object::stackmap_class() != Class::null());
Stackmap& result = Stackmap::Handle();
@@ -11567,7 +11567,7 @@ RawStackmap* Stackmap::New(intptr_t length,
// address.
ASSERT(pc_offset >= 0);
result.SetPcOffset(pc_offset);
- result.SetRegisterBitCount(register_bit_count);
+ result.SetSlowPathBitCount(slow_path_bit_count);
return result.raw();
}
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/raw_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698