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

Side by Side Diff: src/arm/codegen-arm.cc

Issue 10170030: Implement tracking and optimizations of packed arrays (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: ia32 ready to go Created 8 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 | Annotate | Revision Log
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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 void StubRuntimeCallHelper::AfterCall(MacroAssembler* masm) const { 66 void StubRuntimeCallHelper::AfterCall(MacroAssembler* masm) const {
67 masm->LeaveFrame(StackFrame::INTERNAL); 67 masm->LeaveFrame(StackFrame::INTERNAL);
68 ASSERT(masm->has_frame()); 68 ASSERT(masm->has_frame());
69 masm->set_has_frame(false); 69 masm->set_has_frame(false);
70 } 70 }
71 71
72 72
73 // ------------------------------------------------------------------------- 73 // -------------------------------------------------------------------------
74 // Code generators 74 // Code generators
75 75
76 void ElementsTransitionGenerator::GenerateSmiOnlyToObject( 76 void ElementsTransitionGenerator::GenerateMapChangeElementTransition(
77 MacroAssembler* masm) { 77 MacroAssembler* masm) {
78 // ----------- S t a t e ------------- 78 // ----------- S t a t e -------------
79 // -- r0 : value 79 // -- r0 : value
80 // -- r1 : key 80 // -- r1 : key
81 // -- r2 : receiver 81 // -- r2 : receiver
82 // -- lr : return address 82 // -- lr : return address
83 // -- r3 : target map, scratch for subsequent call 83 // -- r3 : target map, scratch for subsequent call
84 // -- r4 : scratch (elements) 84 // -- r4 : scratch (elements)
85 // ----------------------------------- 85 // -----------------------------------
86 // Set transitioned map. 86 // Set transitioned map.
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 // Ascii string. 429 // Ascii string.
430 __ ldrb(result, MemOperand(string, index)); 430 __ ldrb(result, MemOperand(string, index));
431 __ bind(&done); 431 __ bind(&done);
432 } 432 }
433 433
434 #undef __ 434 #undef __
435 435
436 } } // namespace v8::internal 436 } } // namespace v8::internal
437 437
438 #endif // V8_TARGET_ARCH_ARM 438 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/full-codegen-arm.cc » ('j') | src/elements.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698