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

Unified Diff: src/a64/macro-assembler-a64.cc

Issue 173883003: Remove the unused LoadInitialArrayMap. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | « src/a64/macro-assembler-a64.h ('k') | src/arm/macro-assembler-arm.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/a64/macro-assembler-a64.cc
diff --git a/src/a64/macro-assembler-a64.cc b/src/a64/macro-assembler-a64.cc
index 2d55294b75bf8cb0d462965e6ad2d441a4da145c..7f5a0d6c0833be10cbf6d67cb5ca634c3912337f 100644
--- a/src/a64/macro-assembler-a64.cc
+++ b/src/a64/macro-assembler-a64.cc
@@ -4710,29 +4710,6 @@ void MacroAssembler::LoadTransitionedArrayMapConditional(
}
-void MacroAssembler::LoadInitialArrayMap(Register function_in,
- Register scratch,
- Register map_out,
- ArrayHasHoles holes) {
- ASSERT(!AreAliased(function_in, scratch, map_out));
- Label done;
- Ldr(map_out, FieldMemOperand(function_in,
- JSFunction::kPrototypeOrInitialMapOffset));
-
- if (!FLAG_smi_only_arrays) {
- ElementsKind kind = (holes == kArrayCanHaveHoles) ? FAST_HOLEY_ELEMENTS
- : FAST_ELEMENTS;
- LoadTransitionedArrayMapConditional(FAST_SMI_ELEMENTS, kind, map_out,
- scratch, &done);
- } else if (holes == kArrayCanHaveHoles) {
- LoadTransitionedArrayMapConditional(FAST_SMI_ELEMENTS,
- FAST_HOLEY_SMI_ELEMENTS, map_out,
- scratch, &done);
- }
- Bind(&done);
-}
-
-
void MacroAssembler::LoadArrayFunction(Register function) {
// Load the global or builtins object from the current context.
Ldr(function, GlobalObjectMemOperand());
« no previous file with comments | « src/a64/macro-assembler-a64.h ('k') | src/arm/macro-assembler-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698