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

Unified Diff: runtime/vm/stub_code_mips.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/stub_code_ia32.cc ('k') | runtime/vm/stub_code_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code_mips.cc
diff --git a/runtime/vm/stub_code_mips.cc b/runtime/vm/stub_code_mips.cc
index db6ca354a5e4e9106bc97f6a75f2a34e1d0151a3..c28eae6561cbcc638f842866cc01fd13d93d4387 100644
--- a/runtime/vm/stub_code_mips.cc
+++ b/runtime/vm/stub_code_mips.cc
@@ -67,7 +67,7 @@ void StubCode::GenerateCallToRuntimeStub(Assembler* assembler) {
{ Label ok;
// Check that we are always entering from Dart code.
__ lw(T0, Address(A0, Isolate::vm_tag_offset()));
- __ BranchEqual(T0, VMTag::kScriptTagId, &ok);
+ __ BranchEqual(T0, VMTag::kDartTagId, &ok);
__ Stop("Not coming from Dart code.");
__ Bind(&ok);
}
@@ -111,7 +111,7 @@ void StubCode::GenerateCallToRuntimeStub(Assembler* assembler) {
__ TraceSimMsg("CallToRuntimeStub return");
// Mark that the isolate is executing Dart code.
- __ LoadImmediate(A2, VMTag::kScriptTagId);
+ __ LoadImmediate(A2, VMTag::kDartTagId);
__ sw(A2, Address(CTX, Isolate::vm_tag_offset()));
// Reset exit frame information in Isolate structure.
@@ -193,7 +193,7 @@ void StubCode::GenerateCallNativeCFunctionStub(Assembler* assembler) {
{ Label ok;
// Check that we are always entering from Dart code.
__ lw(T0, Address(A0, Isolate::vm_tag_offset()));
- __ BranchEqual(T0, VMTag::kScriptTagId, &ok);
+ __ BranchEqual(T0, VMTag::kDartTagId, &ok);
__ Stop("Not coming from Dart code.");
__ Bind(&ok);
}
@@ -245,7 +245,7 @@ void StubCode::GenerateCallNativeCFunctionStub(Assembler* assembler) {
__ TraceSimMsg("CallNativeCFunctionStub return");
// Mark that the isolate is executing Dart code.
- __ LoadImmediate(A2, VMTag::kScriptTagId);
+ __ LoadImmediate(A2, VMTag::kDartTagId);
__ sw(A2, Address(CTX, Isolate::vm_tag_offset()));
// Reset exit frame information in Isolate structure.
@@ -308,7 +308,7 @@ void StubCode::GenerateCallBootstrapCFunctionStub(Assembler* assembler) {
{ Label ok;
// Check that we are always entering from Dart code.
__ lw(T0, Address(A0, Isolate::vm_tag_offset()));
- __ BranchEqual(T0, VMTag::kScriptTagId, &ok);
+ __ BranchEqual(T0, VMTag::kDartTagId, &ok);
__ Stop("Not coming from Dart code.");
__ Bind(&ok);
}
@@ -355,7 +355,7 @@ void StubCode::GenerateCallBootstrapCFunctionStub(Assembler* assembler) {
__ TraceSimMsg("CallNativeCFunctionStub return");
// Mark that the isolate is executing Dart code.
- __ LoadImmediate(A2, VMTag::kScriptTagId);
+ __ LoadImmediate(A2, VMTag::kDartTagId);
__ sw(A2, Address(CTX, Isolate::vm_tag_offset()));
// Reset exit frame information in Isolate structure.
@@ -862,7 +862,7 @@ void StubCode::GenerateInvokeDartCodeStub(Assembler* assembler) {
__ sw(T1, Address(SP, 2 * kWordSize));
// Mark that the isolate is executing Dart code.
- __ LoadImmediate(T0, VMTag::kScriptTagId);
+ __ LoadImmediate(T0, VMTag::kDartTagId);
__ sw(T0, Address(T2, Isolate::vm_tag_offset()));
// Save the top exit frame info. Use T0 as a temporary register.
@@ -1941,7 +1941,7 @@ void StubCode::GenerateJumpToExceptionHandlerStub(Assembler* assembler) {
__ mov(FP, A2); // Frame_pointer.
__ lw(A3, Address(SP, 5 * kWordSize)); // Isolate.
// Set tag.
- __ LoadImmediate(A2, VMTag::kScriptTagId);
+ __ LoadImmediate(A2, VMTag::kDartTagId);
__ sw(A2, Address(A3, Isolate::vm_tag_offset()));
// Clear top exit frame.
__ sw(ZR, Address(A3, Isolate::top_exit_frame_info_offset()));
« no previous file with comments | « runtime/vm/stub_code_ia32.cc ('k') | runtime/vm/stub_code_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698