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

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

Issue 7356013: Implement Object.prototype.hasOwnProperty in generated code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 5 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 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 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 StringCompareStub stub; 785 StringCompareStub stub;
786 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); 786 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr);
787 break; 787 break;
788 } 788 }
789 case CodeStub::TranscendentalCache: { 789 case CodeStub::TranscendentalCache: {
790 TranscendentalCacheStub stub(instr->transcendental_type(), 790 TranscendentalCacheStub stub(instr->transcendental_type(),
791 TranscendentalCacheStub::TAGGED); 791 TranscendentalCacheStub::TAGGED);
792 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); 792 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr);
793 break; 793 break;
794 } 794 }
795 case CodeStub::HasOwnProperty: {
796 HasOwnPropertyStub stub;
797 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr);
798 break;
799 }
795 default: 800 default:
796 UNREACHABLE(); 801 UNREACHABLE();
797 } 802 }
798 } 803 }
799 804
800 805
801 void LCodeGen::DoUnknownOSRValue(LUnknownOSRValue* instr) { 806 void LCodeGen::DoUnknownOSRValue(LUnknownOSRValue* instr) {
802 // Nothing to do. 807 // Nothing to do.
803 } 808 }
804 809
(...skipping 3455 matching lines...) Expand 10 before | Expand all | Expand 10 after
4260 env->deoptimization_index()); 4265 env->deoptimization_index());
4261 __ InvokeBuiltin(Builtins::IN, CALL_FUNCTION, safepoint_generator); 4266 __ InvokeBuiltin(Builtins::IN, CALL_FUNCTION, safepoint_generator);
4262 } 4267 }
4263 4268
4264 4269
4265 #undef __ 4270 #undef __
4266 4271
4267 } } // namespace v8::internal 4272 } } // namespace v8::internal
4268 4273
4269 #endif // V8_TARGET_ARCH_IA32 4274 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« src/ia32/code-stubs-ia32.cc ('K') | « src/ia32/full-codegen-ia32.cc ('k') | src/json.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698