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

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

Issue 7167006: Merge arguments branch to bleeding merge. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix test arguments.js." Created 9 years, 6 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/arm/ic-arm.cc ('k') | 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 2654 matching lines...) Expand 10 before | Expand all | Expand 10 after
2665 // TODO(danno): we could be more clever here, perhaps having a special 2665 // TODO(danno): we could be more clever here, perhaps having a special
2666 // version of the stub that detects if the overflow case actually 2666 // version of the stub that detects if the overflow case actually
2667 // happens, and generate code that returns a double rather than int. 2667 // happens, and generate code that returns a double rather than int.
2668 DeoptimizeIf(cs, instr->environment()); 2668 DeoptimizeIf(cs, instr->environment());
2669 break; 2669 break;
2670 case JSObject::EXTERNAL_FLOAT_ELEMENTS: 2670 case JSObject::EXTERNAL_FLOAT_ELEMENTS:
2671 case JSObject::EXTERNAL_DOUBLE_ELEMENTS: 2671 case JSObject::EXTERNAL_DOUBLE_ELEMENTS:
2672 case JSObject::FAST_DOUBLE_ELEMENTS: 2672 case JSObject::FAST_DOUBLE_ELEMENTS:
2673 case JSObject::FAST_ELEMENTS: 2673 case JSObject::FAST_ELEMENTS:
2674 case JSObject::DICTIONARY_ELEMENTS: 2674 case JSObject::DICTIONARY_ELEMENTS:
2675 case JSObject::NON_STRICT_ARGUMENTS_ELEMENTS:
2675 UNREACHABLE(); 2676 UNREACHABLE();
2676 break; 2677 break;
2677 } 2678 }
2678 } 2679 }
2679 } 2680 }
2680 2681
2681 2682
2682 void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) { 2683 void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) {
2683 ASSERT(ToRegister(instr->object()).is(r1)); 2684 ASSERT(ToRegister(instr->object()).is(r1));
2684 ASSERT(ToRegister(instr->key()).is(r0)); 2685 ASSERT(ToRegister(instr->key()).is(r0));
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after
3469 break; 3470 break;
3470 case JSObject::EXTERNAL_INT_ELEMENTS: 3471 case JSObject::EXTERNAL_INT_ELEMENTS:
3471 case JSObject::EXTERNAL_UNSIGNED_INT_ELEMENTS: 3472 case JSObject::EXTERNAL_UNSIGNED_INT_ELEMENTS:
3472 __ str(value, mem_operand); 3473 __ str(value, mem_operand);
3473 break; 3474 break;
3474 case JSObject::EXTERNAL_FLOAT_ELEMENTS: 3475 case JSObject::EXTERNAL_FLOAT_ELEMENTS:
3475 case JSObject::EXTERNAL_DOUBLE_ELEMENTS: 3476 case JSObject::EXTERNAL_DOUBLE_ELEMENTS:
3476 case JSObject::FAST_DOUBLE_ELEMENTS: 3477 case JSObject::FAST_DOUBLE_ELEMENTS:
3477 case JSObject::FAST_ELEMENTS: 3478 case JSObject::FAST_ELEMENTS:
3478 case JSObject::DICTIONARY_ELEMENTS: 3479 case JSObject::DICTIONARY_ELEMENTS:
3480 case JSObject::NON_STRICT_ARGUMENTS_ELEMENTS:
3479 UNREACHABLE(); 3481 UNREACHABLE();
3480 break; 3482 break;
3481 } 3483 }
3482 } 3484 }
3483 } 3485 }
3484 3486
3485 3487
3486 void LCodeGen::DoStoreKeyedGeneric(LStoreKeyedGeneric* instr) { 3488 void LCodeGen::DoStoreKeyedGeneric(LStoreKeyedGeneric* instr) {
3487 ASSERT(ToRegister(instr->object()).is(r2)); 3489 ASSERT(ToRegister(instr->object()).is(r2));
3488 ASSERT(ToRegister(instr->key()).is(r1)); 3490 ASSERT(ToRegister(instr->key()).is(r1));
(...skipping 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after
4586 ASSERT(osr_pc_offset_ == -1); 4588 ASSERT(osr_pc_offset_ == -1);
4587 osr_pc_offset_ = masm()->pc_offset(); 4589 osr_pc_offset_ = masm()->pc_offset();
4588 } 4590 }
4589 4591
4590 4592
4591 4593
4592 4594
4593 #undef __ 4595 #undef __
4594 4596
4595 } } // namespace v8::internal 4597 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/ic-arm.cc ('k') | src/arm/stub-cache-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698