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/code-stubs-mips.cc

Issue 138443012: Reland ArrayPop / ArrayPush. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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/isolate.h ('k') | src/mips/stub-cache-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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 a2, // name 412 a2, // name
413 }; 413 };
414 static Representation representations[] = { 414 static Representation representations[] = {
415 Representation::Tagged(), // context 415 Representation::Tagged(), // context
416 Representation::Tagged(), // name 416 Representation::Tagged(), // name
417 }; 417 };
418 descriptor->register_param_count_ = 2; 418 descriptor->register_param_count_ = 2;
419 descriptor->register_params_ = registers; 419 descriptor->register_params_ = registers;
420 descriptor->param_representations_ = representations; 420 descriptor->param_representations_ = representations;
421 } 421 }
422 {
423 CallInterfaceDescriptor* descriptor =
424 isolate->call_descriptor(Isolate::CallHandler);
425 static Register registers[] = { cp, // context
426 a0, // receiver
427 };
428 static Representation representations[] = {
429 Representation::Tagged(), // context
430 Representation::Tagged(), // receiver
431 };
432 descriptor->register_param_count_ = 2;
433 descriptor->register_params_ = registers;
434 descriptor->param_representations_ = representations;
435 }
422 } 436 }
423 437
424 438
425 #define __ ACCESS_MASM(masm) 439 #define __ ACCESS_MASM(masm)
426 440
427 441
428 static void EmitIdenticalObjectComparison(MacroAssembler* masm, 442 static void EmitIdenticalObjectComparison(MacroAssembler* masm,
429 Label* slow, 443 Label* slow,
430 Condition cc); 444 Condition cc);
431 static void EmitSmiNonsmiComparison(MacroAssembler* masm, 445 static void EmitSmiNonsmiComparison(MacroAssembler* masm,
(...skipping 5244 matching lines...) Expand 10 before | Expand all | Expand 10 after
5676 __ bind(&fast_elements_case); 5690 __ bind(&fast_elements_case);
5677 GenerateCase(masm, FAST_ELEMENTS); 5691 GenerateCase(masm, FAST_ELEMENTS);
5678 } 5692 }
5679 5693
5680 5694
5681 #undef __ 5695 #undef __
5682 5696
5683 } } // namespace v8::internal 5697 } } // namespace v8::internal
5684 5698
5685 #endif // V8_TARGET_ARCH_MIPS 5699 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | src/mips/stub-cache-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698