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

Unified Diff: runtime/vm/stub_code_arm.cc

Issue 418433002: Profiler tweaks (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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/simulator_mips.cc ('k') | runtime/vm/stub_code_arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code_arm.cc
diff --git a/runtime/vm/stub_code_arm.cc b/runtime/vm/stub_code_arm.cc
index 6db2aaf5bb9a9e2a11fabf9e57326bc4eef0c70c..fddf7f9a7dac04d06d4fb6dc7028bf706e57f82d 100644
--- a/runtime/vm/stub_code_arm.cc
+++ b/runtime/vm/stub_code_arm.cc
@@ -64,7 +64,7 @@ void StubCode::GenerateCallToRuntimeStub(Assembler* assembler) {
{ Label ok;
// Check that we are always entering from Dart code.
__ LoadFromOffset(kWord, R6, CTX, Isolate::vm_tag_offset());
- __ CompareImmediate(R6, VMTag::kScriptTagId);
+ __ CompareImmediate(R6, VMTag::kDartTagId);
__ b(&ok, EQ);
__ Stop("Not coming from Dart code.");
__ Bind(&ok);
@@ -102,7 +102,7 @@ void StubCode::GenerateCallToRuntimeStub(Assembler* assembler) {
__ blx(R5);
// Mark that the isolate is executing Dart code.
- __ LoadImmediate(R2, VMTag::kScriptTagId);
+ __ LoadImmediate(R2, VMTag::kDartTagId);
__ StoreToOffset(kWord, R2, CTX, Isolate::vm_tag_offset());
// Reset exit frame information in Isolate structure.
@@ -178,7 +178,7 @@ void StubCode::GenerateCallNativeCFunctionStub(Assembler* assembler) {
{ Label ok;
// Check that we are always entering from Dart code.
__ LoadFromOffset(kWord, R6, CTX, Isolate::vm_tag_offset());
- __ CompareImmediate(R6, VMTag::kScriptTagId);
+ __ CompareImmediate(R6, VMTag::kDartTagId);
__ b(&ok, EQ);
__ Stop("Not coming from Dart code.");
__ Bind(&ok);
@@ -229,7 +229,7 @@ void StubCode::GenerateCallNativeCFunctionStub(Assembler* assembler) {
#endif
// Mark that the isolate is executing Dart code.
- __ LoadImmediate(R2, VMTag::kScriptTagId);
+ __ LoadImmediate(R2, VMTag::kDartTagId);
__ StoreToOffset(kWord, R2, CTX, Isolate::vm_tag_offset());
// Reset exit frame information in Isolate structure.
@@ -286,7 +286,7 @@ void StubCode::GenerateCallBootstrapCFunctionStub(Assembler* assembler) {
{ Label ok;
// Check that we are always entering from Dart code.
__ LoadFromOffset(kWord, R6, CTX, Isolate::vm_tag_offset());
- __ CompareImmediate(R6, VMTag::kScriptTagId);
+ __ CompareImmediate(R6, VMTag::kDartTagId);
__ b(&ok, EQ);
__ Stop("Not coming from Dart code.");
__ Bind(&ok);
@@ -328,7 +328,7 @@ void StubCode::GenerateCallBootstrapCFunctionStub(Assembler* assembler) {
__ blx(R5);
// Mark that the isolate is executing Dart code.
- __ LoadImmediate(R2, VMTag::kScriptTagId);
+ __ LoadImmediate(R2, VMTag::kDartTagId);
__ StoreToOffset(kWord, R2, CTX, Isolate::vm_tag_offset());
// Reset exit frame information in Isolate structure.
@@ -757,7 +757,7 @@ void StubCode::GenerateInvokeDartCodeStub(Assembler* assembler) {
__ Push(R5);
// Mark that the isolate is executing Dart code.
- __ LoadImmediate(R5, VMTag::kScriptTagId);
+ __ LoadImmediate(R5, VMTag::kDartTagId);
__ StoreToOffset(kWord, R5, R8, Isolate::vm_tag_offset());
// Save the top exit frame info. Use R5 as a temporary register.
@@ -1720,7 +1720,7 @@ void StubCode::GenerateJumpToExceptionHandlerStub(Assembler* assembler) {
__ mov(FP, Operand(R2)); // Frame_pointer.
__ mov(SP, Operand(IP)); // Set Stack pointer.
// Set the tag.
- __ LoadImmediate(R2, VMTag::kScriptTagId);
+ __ LoadImmediate(R2, VMTag::kDartTagId);
__ StoreToOffset(kWord, R2, R3, Isolate::vm_tag_offset());
// Clear top exit frame.
__ LoadImmediate(R2, 0);
« no previous file with comments | « runtime/vm/simulator_mips.cc ('k') | runtime/vm/stub_code_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698