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

Unified Diff: src/arm64/macro-assembler-arm64.h

Issue 1475823003: [runtime] First step to sanitize regexp literal creation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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
Index: src/arm64/macro-assembler-arm64.h
diff --git a/src/arm64/macro-assembler-arm64.h b/src/arm64/macro-assembler-arm64.h
index 9c3b5b09538829a2c4082275b34ef544cfc1475e..ec83e5c56b3de1dd4e86994d8c7aa8f8948f5a68 100644
--- a/src/arm64/macro-assembler-arm64.h
+++ b/src/arm64/macro-assembler-arm64.h
@@ -1028,17 +1028,6 @@ class MacroAssembler : public Assembler {
// ---- Object Utilities ----
- // Copy fields from 'src' to 'dst', where both are tagged objects.
- // The 'temps' list is a list of X registers which can be used for scratch
- // values. The temps list must include at least one register.
- //
- // Currently, CopyFields cannot make use of more than three registers from
- // the 'temps' list.
- //
- // CopyFields expects to be able to take at least two registers from
- // MacroAssembler::TmpList().
- void CopyFields(Register dst, Register src, CPURegList temps, unsigned count);
-
// Initialize fields with filler values. Fields starting at |current_address|
// not including |end_address| are overwritten with the value in |filler|. At
// the end the loop, |current_address| takes the value of |end_address|.
@@ -2010,19 +1999,6 @@ class MacroAssembler : public Assembler {
void PopPostamble(int count, int size) { PopPostamble(count * size); }
private:
- // Helpers for CopyFields.
- // These each implement CopyFields in a different way.
- void CopyFieldsLoopPairsHelper(Register dst, Register src, unsigned count,
- Register scratch1, Register scratch2,
- Register scratch3, Register scratch4,
- Register scratch5);
- void CopyFieldsUnrolledPairsHelper(Register dst, Register src, unsigned count,
- Register scratch1, Register scratch2,
- Register scratch3, Register scratch4);
- void CopyFieldsUnrolledHelper(Register dst, Register src, unsigned count,
- Register scratch1, Register scratch2,
- Register scratch3);
-
// The actual Push and Pop implementations. These don't generate any code
// other than that required for the push or pop. This allows
// (Push|Pop)CPURegList to bundle together run-time assertions for a large

Powered by Google App Engine
This is Rietveld 408576698