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

Side by Side Diff: src/mips/assembler-mips.h

Issue 967323002: Refactor BreakLocationIterator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: static_cast instead Created 5 years, 9 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 unified diff | Download patch
« no previous file with comments | « src/ia32/debug-ia32.cc ('k') | src/mips/assembler-mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 584
585 // Difference between address of current opcode and value read from pc 585 // Difference between address of current opcode and value read from pc
586 // register. 586 // register.
587 static const int kPcLoadDelta = 4; 587 static const int kPcLoadDelta = 4;
588 588
589 static const int kPatchDebugBreakSlotReturnOffset = 4 * kInstrSize; 589 static const int kPatchDebugBreakSlotReturnOffset = 4 * kInstrSize;
590 590
591 // Number of instructions used for the JS return sequence. The constant is 591 // Number of instructions used for the JS return sequence. The constant is
592 // used by the debugger to patch the JS return sequence. 592 // used by the debugger to patch the JS return sequence.
593 static const int kJSReturnSequenceInstructions = 7; 593 static const int kJSReturnSequenceInstructions = 7;
594 static const int kJSReturnSequenceLength =
595 kJSReturnSequenceInstructions * kInstrSize;
594 static const int kDebugBreakSlotInstructions = 4; 596 static const int kDebugBreakSlotInstructions = 4;
595 static const int kDebugBreakSlotLength = 597 static const int kDebugBreakSlotLength =
596 kDebugBreakSlotInstructions * kInstrSize; 598 kDebugBreakSlotInstructions * kInstrSize;
597 599
598 600
599 // --------------------------------------------------------------------------- 601 // ---------------------------------------------------------------------------
600 // Code generation. 602 // Code generation.
601 603
602 // Insert the smallest number of nop instructions 604 // Insert the smallest number of nop instructions
603 // possible to align the pc offset to a multiple 605 // possible to align the pc offset to a multiple
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after
1388 class EnsureSpace BASE_EMBEDDED { 1390 class EnsureSpace BASE_EMBEDDED {
1389 public: 1391 public:
1390 explicit EnsureSpace(Assembler* assembler) { 1392 explicit EnsureSpace(Assembler* assembler) {
1391 assembler->CheckBuffer(); 1393 assembler->CheckBuffer();
1392 } 1394 }
1393 }; 1395 };
1394 1396
1395 } } // namespace v8::internal 1397 } } // namespace v8::internal
1396 1398
1397 #endif // V8_ARM_ASSEMBLER_MIPS_H_ 1399 #endif // V8_ARM_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/ia32/debug-ia32.cc ('k') | src/mips/assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698