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

Unified Diff: runtime/vm/assembler_arm.cc

Issue 22389004: Allows compiler bailout to handle errors of any type. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 | « no previous file | runtime/vm/assembler_mips.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_arm.cc
===================================================================
--- runtime/vm/assembler_arm.cc (revision 25961)
+++ runtime/vm/assembler_arm.cc (working copy)
@@ -1731,9 +1731,8 @@
if (!CanEncodeBranchOffset(offset)) {
ASSERT(!use_far_branches());
- const Error& error = Error::Handle(LanguageError::New(
- String::Handle(String::New("Branch offset overflow"))));
- Isolate::Current()->long_jump_base()->Jump(1, error);
+ Isolate::Current()->long_jump_base()->Jump(
+ 1, Object::branch_offset_error());
}
// Properly preserve only the bits supported in the instruction.
« no previous file with comments | « no previous file | runtime/vm/assembler_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698