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

Side by Side Diff: src/compiler/js-operator.cc

Issue 873423004: First stab at try-catch and try-finally in TurboFan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed moarer comments by Ben Titzer. Created 5 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
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/flag-definitions.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/compiler/js-operator.h" 5 #include "src/compiler/js-operator.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "src/base/lazy-instance.h" 9 #include "src/base/lazy-instance.h"
10 #include "src/compiler/opcodes.h" 10 #include "src/compiler/opcodes.h"
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 2, 1, 1, 0, 1, 0, // counts 395 2, 1, 1, 0, 1, 0, // counts
396 access); // parameter 396 access); // parameter
397 } 397 }
398 398
399 399
400 const Operator* JSOperatorBuilder::CreateCatchContext( 400 const Operator* JSOperatorBuilder::CreateCatchContext(
401 const Unique<String>& name) { 401 const Unique<String>& name) {
402 return new (zone()) Operator1<Unique<String>>( // -- 402 return new (zone()) Operator1<Unique<String>>( // --
403 IrOpcode::kJSCreateCatchContext, Operator::kNoProperties, // opcode 403 IrOpcode::kJSCreateCatchContext, Operator::kNoProperties, // opcode
404 "JSCreateCatchContext", // name 404 "JSCreateCatchContext", // name
405 1, 1, 1, 1, 1, 0, // counts 405 2, 1, 1, 1, 1, 0, // counts
406 name); // parameter 406 name); // parameter
407 } 407 }
408 408
409 } // namespace compiler 409 } // namespace compiler
410 } // namespace internal 410 } // namespace internal
411 } // namespace v8 411 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698