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

Side by Side Diff: src/code-stubs.cc

Issue 19492007: Generate KeyedLoadDictionaryElementStub with Hydrogen (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Better formatting Created 7 years, 1 month 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/code-stubs.h ('k') | src/code-stubs-hydrogen.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 946 matching lines...) Expand 10 before | Expand all | Expand 10 after
957 957
958 958
959 void JSEntryStub::FinishCode(Handle<Code> code) { 959 void JSEntryStub::FinishCode(Handle<Code> code) {
960 Handle<FixedArray> handler_table = 960 Handle<FixedArray> handler_table =
961 code->GetIsolate()->factory()->NewFixedArray(1, TENURED); 961 code->GetIsolate()->factory()->NewFixedArray(1, TENURED);
962 handler_table->set(0, Smi::FromInt(handler_offset_)); 962 handler_table->set(0, Smi::FromInt(handler_offset_));
963 code->set_handler_table(*handler_table); 963 code->set_handler_table(*handler_table);
964 } 964 }
965 965
966 966
967 void KeyedLoadDictionaryElementStub::Generate(MacroAssembler* masm) { 967 void KeyedLoadDictionaryElementPlatformStub::Generate(
968 MacroAssembler* masm) {
968 KeyedLoadStubCompiler::GenerateLoadDictionaryElement(masm); 969 KeyedLoadStubCompiler::GenerateLoadDictionaryElement(masm);
969 } 970 }
970 971
971 972
972 void CreateAllocationSiteStub::GenerateAheadOfTime(Isolate* isolate) { 973 void CreateAllocationSiteStub::GenerateAheadOfTime(Isolate* isolate) {
973 CreateAllocationSiteStub stub; 974 CreateAllocationSiteStub stub;
974 stub.GetCode(isolate)->set_is_pregenerated(true); 975 stub.GetCode(isolate)->set_is_pregenerated(true);
975 } 976 }
976 977
977 978
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
1199 InstallDescriptor(isolate, &stub3); 1200 InstallDescriptor(isolate, &stub3);
1200 } 1201 }
1201 1202
1202 InternalArrayConstructorStub::InternalArrayConstructorStub( 1203 InternalArrayConstructorStub::InternalArrayConstructorStub(
1203 Isolate* isolate) { 1204 Isolate* isolate) {
1204 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 1205 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
1205 } 1206 }
1206 1207
1207 1208
1208 } } // namespace v8::internal 1209 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698