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

Side by Side Diff: src/isolate.cc

Issue 131483003: Be sure to also register the BinaryOpWithAllocationSiteStub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 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/code-stubs.cc ('k') | no next file » | 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 2081 matching lines...) Expand 10 before | Expand all | Expand 10 after
2092 StubFailureTrampolineStub::GenerateAheadOfTime(this); 2092 StubFailureTrampolineStub::GenerateAheadOfTime(this);
2093 StubFailureTailCallTrampolineStub::GenerateAheadOfTime(this); 2093 StubFailureTailCallTrampolineStub::GenerateAheadOfTime(this);
2094 // TODO(mstarzinger): The following is an ugly hack to make sure the 2094 // TODO(mstarzinger): The following is an ugly hack to make sure the
2095 // interface descriptor is initialized even when stubs have been 2095 // interface descriptor is initialized even when stubs have been
2096 // deserialized out of the snapshot without the graph builder. 2096 // deserialized out of the snapshot without the graph builder.
2097 FastCloneShallowArrayStub stub(FastCloneShallowArrayStub::CLONE_ELEMENTS, 2097 FastCloneShallowArrayStub stub(FastCloneShallowArrayStub::CLONE_ELEMENTS,
2098 DONT_TRACK_ALLOCATION_SITE, 0); 2098 DONT_TRACK_ALLOCATION_SITE, 0);
2099 stub.InitializeInterfaceDescriptor( 2099 stub.InitializeInterfaceDescriptor(
2100 this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray)); 2100 this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray));
2101 BinaryOpICStub::InstallDescriptors(this); 2101 BinaryOpICStub::InstallDescriptors(this);
2102 BinaryOpWithAllocationSiteStub::InstallDescriptors(this);
2102 CompareNilICStub::InitializeForIsolate(this); 2103 CompareNilICStub::InitializeForIsolate(this);
2103 ToBooleanStub::InitializeForIsolate(this); 2104 ToBooleanStub::InitializeForIsolate(this);
2104 ArrayConstructorStubBase::InstallDescriptors(this); 2105 ArrayConstructorStubBase::InstallDescriptors(this);
2105 InternalArrayConstructorStubBase::InstallDescriptors(this); 2106 InternalArrayConstructorStubBase::InstallDescriptors(this);
2106 FastNewClosureStub::InstallDescriptors(this); 2107 FastNewClosureStub::InstallDescriptors(this);
2107 NumberToStringStub::InstallDescriptors(this); 2108 NumberToStringStub::InstallDescriptors(this);
2108 NewStringAddStub::InstallDescriptors(this); 2109 NewStringAddStub::InstallDescriptors(this);
2109 } 2110 }
2110 2111
2111 initialized_from_snapshot_ = (des != NULL); 2112 initialized_from_snapshot_ = (des != NULL);
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
2292 2293
2293 #ifdef DEBUG 2294 #ifdef DEBUG
2294 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 2295 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
2295 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 2296 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
2296 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 2297 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
2297 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 2298 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
2298 #undef ISOLATE_FIELD_OFFSET 2299 #undef ISOLATE_FIELD_OFFSET
2299 #endif 2300 #endif
2300 2301
2301 } } // namespace v8::internal 2302 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/code-stubs.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698