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

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

Issue 2033009: Remove unused labels. (Closed)
Patch Set: Created 10 years, 7 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 | « no previous file | 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 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 1049 matching lines...) Expand 10 before | Expand all | Expand 10 after
1060 __ jmp(call_generic_code); 1060 __ jmp(call_generic_code);
1061 } 1061 }
1062 1062
1063 1063
1064 void Builtins::Generate_ArrayCode(MacroAssembler* masm) { 1064 void Builtins::Generate_ArrayCode(MacroAssembler* masm) {
1065 // ----------- S t a t e ------------- 1065 // ----------- S t a t e -------------
1066 // -- eax : argc 1066 // -- eax : argc
1067 // -- esp[0] : return address 1067 // -- esp[0] : return address
1068 // -- esp[4] : last argument 1068 // -- esp[4] : last argument
1069 // ----------------------------------- 1069 // -----------------------------------
1070 Label generic_array_code, one_or_more_arguments, two_or_more_arguments; 1070 Label generic_array_code;
1071 1071
1072 // Get the Array function. 1072 // Get the Array function.
1073 GenerateLoadArrayFunction(masm, edi); 1073 GenerateLoadArrayFunction(masm, edi);
1074 1074
1075 if (FLAG_debug_code) { 1075 if (FLAG_debug_code) {
1076 // Initial map for the builtin Array function shoud be a map. 1076 // Initial map for the builtin Array function shoud be a map.
1077 __ mov(ebx, FieldOperand(edi, JSFunction::kPrototypeOrInitialMapOffset)); 1077 __ mov(ebx, FieldOperand(edi, JSFunction::kPrototypeOrInitialMapOffset));
1078 // Will both indicate a NULL and a Smi. 1078 // Will both indicate a NULL and a Smi.
1079 __ test(ebx, Immediate(kSmiTagMask)); 1079 __ test(ebx, Immediate(kSmiTagMask));
1080 __ Assert(not_zero, "Unexpected initial map for Array function"); 1080 __ Assert(not_zero, "Unexpected initial map for Array function");
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
1240 // Dont adapt arguments. 1240 // Dont adapt arguments.
1241 // ------------------------------------------- 1241 // -------------------------------------------
1242 __ bind(&dont_adapt_arguments); 1242 __ bind(&dont_adapt_arguments);
1243 __ jmp(Operand(edx)); 1243 __ jmp(Operand(edx));
1244 } 1244 }
1245 1245
1246 1246
1247 #undef __ 1247 #undef __
1248 1248
1249 } } // namespace v8::internal 1249 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698