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

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

Issue 159013003: Remove extended_extra_ic_state and extend extra_ic_state instead. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // Create the code object. 113 // Create the code object.
114 CodeDesc desc; 114 CodeDesc desc;
115 masm.GetCode(&desc); 115 masm.GetCode(&desc);
116 116
117 // Copy the generated code into a heap object. 117 // Copy the generated code into a heap object.
118 Code::Flags flags = Code::ComputeFlags( 118 Code::Flags flags = Code::ComputeFlags(
119 GetCodeKind(), 119 GetCodeKind(),
120 GetICState(), 120 GetICState(),
121 GetExtraICState(), 121 GetExtraICState(),
122 GetStubType(), 122 GetStubType(),
123 GetStubFlags()); 123 GetHandlerKind());
124 Handle<Code> new_object = factory->NewCode( 124 Handle<Code> new_object = factory->NewCode(
125 desc, flags, masm.CodeObject(), NeedsImmovableCode()); 125 desc, flags, masm.CodeObject(), NeedsImmovableCode());
126 return new_object; 126 return new_object;
127 } 127 }
128 128
129 129
130 void CodeStub::VerifyPlatformFeatures(Isolate* isolate) { 130 void CodeStub::VerifyPlatformFeatures(Isolate* isolate) {
131 ASSERT(CpuFeatures::VerifyCrossCompiling()); 131 ASSERT(CpuFeatures::VerifyCrossCompiling());
132 } 132 }
133 133
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 InstallDescriptor(isolate, &stub3); 806 InstallDescriptor(isolate, &stub3);
807 } 807 }
808 808
809 InternalArrayConstructorStub::InternalArrayConstructorStub( 809 InternalArrayConstructorStub::InternalArrayConstructorStub(
810 Isolate* isolate) { 810 Isolate* isolate) {
811 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 811 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
812 } 812 }
813 813
814 814
815 } } // namespace v8::internal 815 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/code-stubs-hydrogen.cc » ('j') | src/objects-inl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698