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

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

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 | « no previous file | src/code-stubs.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 1153 matching lines...) Expand 10 before | Expand all | Expand 10 after
1164 const BinaryOpIC::State& state); 1164 const BinaryOpIC::State& state);
1165 1165
1166 BinaryOpIC::State state_; 1166 BinaryOpIC::State state_;
1167 1167
1168 DISALLOW_COPY_AND_ASSIGN(BinaryOpICWithAllocationSiteStub); 1168 DISALLOW_COPY_AND_ASSIGN(BinaryOpICWithAllocationSiteStub);
1169 }; 1169 };
1170 1170
1171 1171
1172 class BinaryOpWithAllocationSiteStub V8_FINAL : public BinaryOpICStub { 1172 class BinaryOpWithAllocationSiteStub V8_FINAL : public BinaryOpICStub {
1173 public: 1173 public:
1174 BinaryOpWithAllocationSiteStub(Token::Value op, OverwriteMode mode)
1175 : BinaryOpICStub(op, mode) {}
1176
1174 explicit BinaryOpWithAllocationSiteStub(const BinaryOpIC::State& state) 1177 explicit BinaryOpWithAllocationSiteStub(const BinaryOpIC::State& state)
1175 : BinaryOpICStub(state) {} 1178 : BinaryOpICStub(state) {}
1176 1179
1177 virtual void InitializeInterfaceDescriptor( 1180 virtual void InitializeInterfaceDescriptor(
1178 Isolate* isolate, CodeStubInterfaceDescriptor* descriptor) V8_OVERRIDE; 1181 Isolate* isolate, CodeStubInterfaceDescriptor* descriptor) V8_OVERRIDE;
1179 1182
1180 static void InstallDescriptors(Isolate* isolate); 1183 static void InstallDescriptors(Isolate* isolate);
1181 1184
1182 virtual Code::Kind GetCodeKind() const V8_FINAL V8_OVERRIDE { 1185 virtual Code::Kind GetCodeKind() const V8_FINAL V8_OVERRIDE {
1183 return Code::STUB; 1186 return Code::STUB;
(...skipping 1266 matching lines...) Expand 10 before | Expand all | Expand 10 after
2450 int MinorKey() { return 0; } 2453 int MinorKey() { return 0; }
2451 2454
2452 void Generate(MacroAssembler* masm); 2455 void Generate(MacroAssembler* masm);
2453 2456
2454 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); 2457 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub);
2455 }; 2458 };
2456 2459
2457 } } // namespace v8::internal 2460 } } // namespace v8::internal
2458 2461
2459 #endif // V8_CODE_STUBS_H_ 2462 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « no previous file | src/code-stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698