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

Side by Side Diff: src/arm/code-stubs-arm.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 | « no previous file | src/arm/stub-cache-arm.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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 }; 420 };
421 static Representation representations[] = { 421 static Representation representations[] = {
422 Representation::Tagged(), // context 422 Representation::Tagged(), // context
423 Representation::Tagged(), // name 423 Representation::Tagged(), // name
424 }; 424 };
425 descriptor->register_param_count_ = 2; 425 descriptor->register_param_count_ = 2;
426 descriptor->register_params_ = registers; 426 descriptor->register_params_ = registers;
427 descriptor->param_representations_ = representations; 427 descriptor->param_representations_ = representations;
428 descriptor->platform_specific_descriptor_ = &noInlineDescriptor; 428 descriptor->platform_specific_descriptor_ = &noInlineDescriptor;
429 } 429 }
430 {
431 CallInterfaceDescriptor* descriptor =
432 isolate->call_descriptor(Isolate::CallHandler);
433 static Register registers[] = { cp, // context
434 r0, // receiver
435 };
436 static Representation representations[] = {
437 Representation::Tagged(), // context
438 Representation::Tagged(), // receiver
439 };
440 descriptor->register_param_count_ = 2;
441 descriptor->register_params_ = registers;
442 descriptor->param_representations_ = representations;
443 descriptor->platform_specific_descriptor_ = &default_descriptor;
444 }
430 } 445 }
431 446
432 447
433 #define __ ACCESS_MASM(masm) 448 #define __ ACCESS_MASM(masm)
434 449
435 450
436 static void EmitIdenticalObjectComparison(MacroAssembler* masm, 451 static void EmitIdenticalObjectComparison(MacroAssembler* masm,
437 Label* slow, 452 Label* slow,
438 Condition cond); 453 Condition cond);
439 static void EmitSmiNonsmiComparison(MacroAssembler* masm, 454 static void EmitSmiNonsmiComparison(MacroAssembler* masm,
(...skipping 5058 matching lines...) Expand 10 before | Expand all | Expand 10 after
5498 __ bind(&fast_elements_case); 5513 __ bind(&fast_elements_case);
5499 GenerateCase(masm, FAST_ELEMENTS); 5514 GenerateCase(masm, FAST_ELEMENTS);
5500 } 5515 }
5501 5516
5502 5517
5503 #undef __ 5518 #undef __
5504 5519
5505 } } // namespace v8::internal 5520 } } // namespace v8::internal
5506 5521
5507 #endif // V8_TARGET_ARCH_ARM 5522 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm/stub-cache-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698