|
Replaces LongJump with LongJumpScope.
LongJump required explicitly restoring the old
long jump base before function return. This was
sometimes forgotten, leading to crashes. This
change puts the base restoration into the
destructor so that it happens automatically on
return.
R=iposva@google.com
Committed: https://code.google.com/p/dart/source/detail?r=31463
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+69 lines, -120 lines) |
Patch |
 |
M |
runtime/vm/allocation_test.cc
|
View
|
1
2
|
5 chunks |
+14 lines, -10 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/class_finalizer.cc
|
View
|
1
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/code_descriptors_test.cc
|
View
|
1
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/compiler.cc
|
View
|
1
|
13 chunks |
+7 lines, -32 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/debugger.cc
|
View
|
1
|
3 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_inliner.cc
|
View
|
1
|
5 chunks |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/isolate.h
|
View
|
1
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/longjump.h
|
View
|
1
2
|
2 chunks |
+14 lines, -3 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/longjump.cc
|
View
|
1
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/longjump_test.cc
|
View
|
1
2
|
2 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/parser.cc
|
View
|
1
|
4 chunks |
+2 lines, -11 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/parser_test.cc
|
View
|
1
|
2 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/snapshot.cc
|
View
|
1
|
7 chunks |
+5 lines, -22 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|