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

Side by Side Diff: src/x64/codegen-x64.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 | « src/arm/codegen-arm.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 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 3884 matching lines...) Expand 10 before | Expand all | Expand 10 after
3895 Load(args->at(0)); 3895 Load(args->at(0));
3896 Load(args->at(1)); 3896 Load(args->at(1));
3897 3897
3898 StringAddStub stub(NO_STRING_ADD_FLAGS); 3898 StringAddStub stub(NO_STRING_ADD_FLAGS);
3899 Result answer = frame_->CallStub(&stub, 2); 3899 Result answer = frame_->CallStub(&stub, 2);
3900 frame_->Push(&answer); 3900 frame_->Push(&answer);
3901 } 3901 }
3902 3902
3903 3903
3904 void CodeGenerator::GenerateSubString(ZoneList<Expression*>* args) { 3904 void CodeGenerator::GenerateSubString(ZoneList<Expression*>* args) {
3905 ASSERT_EQ(2, args->length()); 3905 ASSERT_EQ(3, args->length());
3906 3906
3907 Load(args->at(0)); 3907 Load(args->at(0));
3908 Load(args->at(1)); 3908 Load(args->at(1));
3909 Load(args->at(2)); 3909 Load(args->at(2));
3910 3910
3911 Result answer = frame_->CallRuntime(Runtime::kSubString, 3); 3911 Result answer = frame_->CallRuntime(Runtime::kSubString, 3);
3912 frame_->Push(&answer); 3912 frame_->Push(&answer);
3913 } 3913 }
3914 3914
3915 3915
(...skipping 4146 matching lines...) Expand 10 before | Expand all | Expand 10 after
8062 masm.GetCode(&desc); 8062 masm.GetCode(&desc);
8063 // Call the function from C++. 8063 // Call the function from C++.
8064 return FUNCTION_CAST<ModuloFunction>(buffer); 8064 return FUNCTION_CAST<ModuloFunction>(buffer);
8065 } 8065 }
8066 8066
8067 #endif 8067 #endif
8068 8068
8069 #undef __ 8069 #undef __
8070 8070
8071 } } // namespace v8::internal 8071 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/codegen-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698