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

Unified Diff: vm/unit_test.cc

Issue 8673002: - Refactor the isolate callback mechanism to also include creation of the (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 9 years, 1 month 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 | « vm/unit_test.h ('k') | vm/vm.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/unit_test.cc
===================================================================
--- vm/unit_test.cc (revision 1955)
+++ vm/unit_test.cc (working copy)
@@ -11,6 +11,7 @@
#include "vm/code_generator.h"
#include "vm/code_index_table.h"
#include "vm/compiler.h"
+#include "vm/dart_api_impl.h"
#include "vm/disassembler.h"
#include "vm/longjump.h"
#include "vm/parser.h"
@@ -97,6 +98,16 @@
}
+Dart_Handle TestCase::library_handler(Dart_LibraryTag tag,
+ Dart_Handle library,
+ Dart_Handle url) {
+ if (tag == kCanonicalizeUrl) {
+ return url;
+ }
+ return Api::Success();
+}
+
+
uword AssemblerTest::Assemble() {
const Code& code = Code::Handle(Code::FinalizeCode(name_, assembler_));
if (FLAG_disassemble) {
« no previous file with comments | « vm/unit_test.h ('k') | vm/vm.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698