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

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

Issue 2575473002: [interpreter][stubs] Enable graph verification for bytecode handlers and stubs included into snapsh… (Closed)
Patch Set: Addressing comments Created 4 years 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
« no previous file with comments | « src/code-stubs.cc ('k') | src/compiler/code-assembler.h » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/code-stubs.h" 5 #include "src/code-stubs.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/code-factory.h" 10 #include "src/code-factory.h"
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 case 4: 279 case 4:
280 assembler.TailCallRuntime(descriptor->miss_handler_id(), 280 assembler.TailCallRuntime(descriptor->miss_handler_id(),
281 assembler.Parameter(4), assembler.Parameter(0), 281 assembler.Parameter(4), assembler.Parameter(0),
282 assembler.Parameter(1), assembler.Parameter(2), 282 assembler.Parameter(1), assembler.Parameter(2),
283 assembler.Parameter(3)); 283 assembler.Parameter(3));
284 break; 284 break;
285 default: 285 default:
286 UNIMPLEMENTED(); 286 UNIMPLEMENTED();
287 break; 287 break;
288 } 288 }
289 return compiler::CodeAssembler::GenerateCode(&state); 289 return compiler::CodeAssembler::GenerateCode(&state, FLAG_csa_verify);
290 } 290 }
291 291
292 template <class Stub> 292 template <class Stub>
293 static Handle<Code> DoGenerateCode(Stub* stub) { 293 static Handle<Code> DoGenerateCode(Stub* stub) {
294 Isolate* isolate = stub->isolate(); 294 Isolate* isolate = stub->isolate();
295 CodeStubDescriptor descriptor(stub); 295 CodeStubDescriptor descriptor(stub);
296 296
297 if (FLAG_minimal && descriptor.has_miss_handler()) { 297 if (FLAG_minimal && descriptor.has_miss_handler()) {
298 return stub->GenerateRuntimeTailCall(&descriptor); 298 return stub->GenerateRuntimeTailCall(&descriptor);
299 } 299 }
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 return BuildUncheckedDictionaryElementLoad(receiver, elements, key, hash); 813 return BuildUncheckedDictionaryElementLoad(receiver, elements, key, hash);
814 } 814 }
815 815
816 816
817 Handle<Code> LoadDictionaryElementStub::GenerateCode() { 817 Handle<Code> LoadDictionaryElementStub::GenerateCode() {
818 return DoGenerateCode(this); 818 return DoGenerateCode(this);
819 } 819 }
820 820
821 } // namespace internal 821 } // namespace internal
822 } // namespace v8 822 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-stubs.cc ('k') | src/compiler/code-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698