|
|
Support for embedded Dart scripts
Add a line and column offset to scripts so that errors and exceptions
in embedded Dart scripts are reported at the proper location.
New API call Dart_LoadEmbeddedScript() that allows to specify
line and column offsets.
Stumbled on and fixed a bug. Script::kind field was not externalized to snapshot.
Committed: https://code.google.com/p/dart/source/detail?r=16934
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+202 lines, -39 lines) |
Patch |
 |
M |
runtime/bin/dartutils.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
runtime/include/dart_api.h
|
View
|
1
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/dart_api_impl.cc
|
View
|
|
5 chunks |
+61 lines, -23 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.h
|
View
|
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/object.cc
|
View
|
|
7 chunks |
+34 lines, -12 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object_test.cc
|
View
|
1
|
1 chunk |
+69 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/raw_object.h
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/raw_object_snapshot.cc
|
View
|
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/scanner.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|