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

Unified Diff: runtime/vm/flow_graph_builder.cc

Issue 10977078: Rename CastException to CastError. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Now without the TODO. Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/exceptions.cc ('k') | tests/co19/co19-dart2dart.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_builder.cc
diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc
index c067f88633b82bf284f08861ccfaef55a3adaa43..e27565467c8ddb5d7233d9b721da45b3b71421b1 100644
--- a/runtime/vm/flow_graph_builder.cc
+++ b/runtime/vm/flow_graph_builder.cc
@@ -794,7 +794,7 @@ void EffectGraphVisitor::BuildTypeCast(ComparisonNode* node) {
ValueGraphVisitor for_value(owner(), temp_index());
node->left()->Visit(&for_value);
const String& dst_name = String::ZoneHandle(
- Symbols::New(Exceptions::kCastExceptionDstName));
+ Symbols::New(Exceptions::kCastErrorDstName));
if (!CanSkipTypeCheck(node->token_pos(), for_value.value(), type, dst_name)) {
Append(for_value);
Do(BuildAssertAssignable(
@@ -879,7 +879,7 @@ void ValueGraphVisitor::BuildTypeCast(ComparisonNode* node) {
node->left()->Visit(&for_value);
Append(for_value);
const String& dst_name = String::ZoneHandle(
- Symbols::New(Exceptions::kCastExceptionDstName));
+ Symbols::New(Exceptions::kCastErrorDstName));
ReturnValue(BuildAssignableValue(node->token_pos(),
for_value.value(),
type,
« no previous file with comments | « runtime/vm/exceptions.cc ('k') | tests/co19/co19-dart2dart.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698