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

Unified Diff: runtime/vm/assembler_mips.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/assembler_mips.h ('k') | runtime/vm/assembler_x64.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_mips.cc
diff --git a/runtime/vm/assembler_mips.cc b/runtime/vm/assembler_mips.cc
index 6bfef42a31b060adce1460dc545757c525155736..90a010ab3d90682eafe48cae2c6cd0b16b70111b 100644
--- a/runtime/vm/assembler_mips.cc
+++ b/runtime/vm/assembler_mips.cc
@@ -506,19 +506,6 @@ void Assembler::BranchLink(const ExternalLabel* label) {
}
-void Assembler::BranchLink(const ExternalLabel* label, Patchability patchable) {
- ASSERT(!in_delay_slot_);
- const int32_t offset = ObjectPool::element_offset(
- object_pool_wrapper_.FindExternalLabel(label, patchable));
- LoadWordFromPoolOffset(CODE_REG, offset - kHeapObjectTag);
- lw(T9, FieldAddress(CODE_REG, Code::entry_point_offset()));
- jalr(T9);
- if (patchable == kPatchable) {
- delay_slot_available_ = false; // CodePatcher expects a nop.
- }
-}
-
-
void Assembler::BranchLink(const Code& target, Patchability patchable) {
ASSERT(!in_delay_slot_);
const int32_t offset = ObjectPool::element_offset(
@@ -596,15 +583,6 @@ void Assembler::LoadUniqueObject(Register rd, const Object& object) {
}
-void Assembler::LoadExternalLabel(Register rd,
- const ExternalLabel* label,
- Patchability patchable) {
- const int32_t offset = ObjectPool::element_offset(
- object_pool_wrapper_.FindExternalLabel(label, patchable));
- LoadWordFromPoolOffset(rd, offset - kHeapObjectTag);
-}
-
-
void Assembler::LoadFunctionFromCalleePool(Register dst,
const Function& function,
Register new_pp) {
« no previous file with comments | « runtime/vm/assembler_mips.h ('k') | runtime/vm/assembler_x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698