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

Side by Side Diff: src/arm/codegen-arm.cc

Issue 523128: Fix wrong asserts from r3554 (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/x64/codegen-x64.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 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 3434 matching lines...) Expand 10 before | Expand all | Expand 10 after
3445 3445
3446 Load(args->at(0)); 3446 Load(args->at(0));
3447 Load(args->at(1)); 3447 Load(args->at(1));
3448 3448
3449 frame_->CallRuntime(Runtime::kStringAdd, 2); 3449 frame_->CallRuntime(Runtime::kStringAdd, 2);
3450 frame_->EmitPush(r0); 3450 frame_->EmitPush(r0);
3451 } 3451 }
3452 3452
3453 3453
3454 void CodeGenerator::GenerateSubString(ZoneList<Expression*>* args) { 3454 void CodeGenerator::GenerateSubString(ZoneList<Expression*>* args) {
3455 ASSERT_EQ(2, args->length()); 3455 ASSERT_EQ(3, args->length());
3456 3456
3457 Load(args->at(0)); 3457 Load(args->at(0));
3458 Load(args->at(1)); 3458 Load(args->at(1));
3459 Load(args->at(2)); 3459 Load(args->at(2));
3460 3460
3461 frame_->CallRuntime(Runtime::kSubString, 3); 3461 frame_->CallRuntime(Runtime::kSubString, 3);
3462 frame_->EmitPush(r0); 3462 frame_->EmitPush(r0);
3463 } 3463 }
3464 3464
3465 3465
(...skipping 3024 matching lines...) Expand 10 before | Expand all | Expand 10 after
6490 int CompareStub::MinorKey() { 6490 int CompareStub::MinorKey() {
6491 // Encode the two parameters in a unique 16 bit value. 6491 // Encode the two parameters in a unique 16 bit value.
6492 ASSERT(static_cast<unsigned>(cc_) >> 28 < (1 << 15)); 6492 ASSERT(static_cast<unsigned>(cc_) >> 28 < (1 << 15));
6493 return (static_cast<unsigned>(cc_) >> 27) | (strict_ ? 1 : 0); 6493 return (static_cast<unsigned>(cc_) >> 27) | (strict_ ? 1 : 0);
6494 } 6494 }
6495 6495
6496 6496
6497 #undef __ 6497 #undef __
6498 6498
6499 } } // namespace v8::internal 6499 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/x64/codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698