Reviewers: Michael Starzinger,

Message:
PTAQL.

Description:
Removing outdated assertions.

[email protected]


Please review this at http://codereview.chromium.org/8497045/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/code-stubs.h
  M src/x64/code-stubs-x64.cc


Index: src/code-stubs.h
diff --git a/src/code-stubs.h b/src/code-stubs.h
index 1af4fa948284c749bd52f767445caddee6349dbd..c134f7a8a23491f7f6c32d75ff6088ff6a64b4a8 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -783,9 +783,6 @@ class StringCharCodeAtGenerator {
         index_not_number_(index_not_number),
         index_out_of_range_(index_out_of_range),
         index_flags_(index_flags) {
-    ASSERT(!scratch_.is(object_));
-    ASSERT(!scratch_.is(index_));
-    ASSERT(!scratch_.is(result_));
     ASSERT(!result_.is(object_));
     ASSERT(!result_.is(index_));
   }
Index: src/x64/code-stubs-x64.cc
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc
index 1d1c6f0f5a5ddcc9196d2e2848ad2bdc424370ee..3dcc11077bf8372d12fe9946fce65d74e8a28443 100644
--- a/src/x64/code-stubs-x64.cc
+++ b/src/x64/code-stubs-x64.cc
@@ -4097,7 +4097,6 @@ void StringCharCodeAtGenerator::GenerateFast(MacroAssembler* masm) {
                  Heap::kEmptyStringRootIndex);
   __ j(not_equal, &call_runtime_);
   // Get the first of the two parts.
-  ASSERT(!kScratchRegister.is(scratch_));
   __ movq(object_, FieldOperand(object_, ConsString::kFirstOffset));
   __ jmp(&assure_seq_string, Label::kNear);



--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to