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

Side by Side Diff: runtime/vm/exceptions.cc

Issue 12317130: Remove deprecated IllegalJSRegExpException class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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 | « runtime/vm/exceptions.h ('k') | runtime/vm/symbols.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 (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/exceptions.h" 5 #include "vm/exceptions.h"
6 6
7 #include "vm/dart_api_impl.h" 7 #include "vm/dart_api_impl.h"
8 #include "vm/dart_entry.h" 8 #include "vm/dart_entry.h"
9 #include "vm/debugger.h" 9 #include "vm/debugger.h"
10 #include "vm/flags.h" 10 #include "vm/flags.h"
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 class_name = &Symbols::OutOfMemoryError(); 459 class_name = &Symbols::OutOfMemoryError();
460 break; 460 break;
461 case kInternalError: 461 case kInternalError:
462 library = Library::CoreLibrary(); 462 library = Library::CoreLibrary();
463 class_name = &Symbols::InternalError(); 463 class_name = &Symbols::InternalError();
464 break; 464 break;
465 case kNullThrown: 465 case kNullThrown:
466 library = Library::CoreLibrary(); 466 library = Library::CoreLibrary();
467 class_name = &Symbols::NullThrownError(); 467 class_name = &Symbols::NullThrownError();
468 break; 468 break;
469 case kIllegalJSRegExp:
470 library = Library::CoreLibrary();
471 class_name = &Symbols::IllegalJSRegExpException();
472 break;
473 case kIsolateSpawn: 469 case kIsolateSpawn:
474 library = Library::IsolateLibrary(); 470 library = Library::IsolateLibrary();
475 class_name = &Symbols::IsolateSpawnException(); 471 class_name = &Symbols::IsolateSpawnException();
476 break; 472 break;
477 case kIsolateUnhandledException: 473 case kIsolateUnhandledException:
478 library = Library::IsolateLibrary(); 474 library = Library::IsolateLibrary();
479 class_name = &Symbols::IsolateUnhandledException(); 475 class_name = &Symbols::IsolateUnhandledException();
480 break; 476 break;
481 } 477 }
482 478
483 return DartLibraryCalls::ExceptionCreate(library, 479 return DartLibraryCalls::ExceptionCreate(library,
484 *class_name, 480 *class_name,
485 *constructor_name, 481 *constructor_name,
486 arguments); 482 arguments);
487 } 483 }
488 484
489 } // namespace dart 485 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/exceptions.h ('k') | runtime/vm/symbols.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698