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

Side by Side Diff: src/mips/builtins-mips.cc

Issue 11293250: Unbreak MIPS part a bit. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/mips/assembler-mips-inl.h ('k') | src/mips/codegen-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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 1237 matching lines...) Expand 10 before | Expand all | Expand 10 after
1248 __ pop(a1); 1248 __ pop(a1);
1249 1249
1250 // Tear down temporary frame. 1250 // Tear down temporary frame.
1251 } 1251 }
1252 1252
1253 // Do a tail-call of the compiled function. 1253 // Do a tail-call of the compiled function.
1254 __ Jump(t9); 1254 __ Jump(t9);
1255 } 1255 }
1256 1256
1257 1257
1258 // Just a dummy for now, so snapshot generation works.
1259 static void GenerateMakeCodeYoungAgainCommon(MacroAssembler* masm) {
1260 __ Ret();
1261 }
1262
1263
1264 #define DEFINE_CODE_AGE_BUILTIN_GENERATOR(C) \
1265 void Builtins::Generate_Make##C##CodeYoungAgainEvenMarking( \
1266 MacroAssembler* masm) { \
1267 GenerateMakeCodeYoungAgainCommon(masm); \
1268 } \
1269 void Builtins::Generate_Make##C##CodeYoungAgainOddMarking( \
1270 MacroAssembler* masm) { \
1271 GenerateMakeCodeYoungAgainCommon(masm); \
1272 }
1273 CODE_AGE_LIST(DEFINE_CODE_AGE_BUILTIN_GENERATOR)
1274 #undef DEFINE_CODE_AGE_BUILTIN_GENERATOR
1275
1276
1258 static void Generate_NotifyDeoptimizedHelper(MacroAssembler* masm, 1277 static void Generate_NotifyDeoptimizedHelper(MacroAssembler* masm,
1259 Deoptimizer::BailoutType type) { 1278 Deoptimizer::BailoutType type) {
1260 { 1279 {
1261 FrameScope scope(masm, StackFrame::INTERNAL); 1280 FrameScope scope(masm, StackFrame::INTERNAL);
1262 // Pass the function and deoptimization type to the runtime system. 1281 // Pass the function and deoptimization type to the runtime system.
1263 __ li(a0, Operand(Smi::FromInt(static_cast<int>(type)))); 1282 __ li(a0, Operand(Smi::FromInt(static_cast<int>(type))));
1264 __ push(a0); 1283 __ push(a0);
1265 __ CallRuntime(Runtime::kNotifyDeoptimized, 1); 1284 __ CallRuntime(Runtime::kNotifyDeoptimized, 1);
1266 } 1285 }
1267 1286
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
1836 __ bind(&dont_adapt_arguments); 1855 __ bind(&dont_adapt_arguments);
1837 __ Jump(a3); 1856 __ Jump(a3);
1838 } 1857 }
1839 1858
1840 1859
1841 #undef __ 1860 #undef __
1842 1861
1843 } } // namespace v8::internal 1862 } } // namespace v8::internal
1844 1863
1845 #endif // V8_TARGET_ARCH_MIPS 1864 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/assembler-mips-inl.h ('k') | src/mips/codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698