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

Unified Diff: runtime/lib/mirrors.cc

Issue 2901533002: [kernel] Stream everything. Replace .kernel_function with .kernel_offset (Closed)
Patch Set: Fixed assert issues; small refactorings. Created 3 years, 7 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
Index: runtime/lib/mirrors.cc
diff --git a/runtime/lib/mirrors.cc b/runtime/lib/mirrors.cc
index 740679677e73b7c07fcff69e05cce55435fdc6df..57e2b3e745264a8e94712374b3f2a7854cd17f46 100644
--- a/runtime/lib/mirrors.cc
+++ b/runtime/lib/mirrors.cc
@@ -145,7 +145,7 @@ static RawInstance* CreateParameterMirrorList(const Function& func,
// * Whether a parameters has been declared as final.
// * Any metadata associated with the parameter.
Object& result = Object::Handle();
- if (func.kernel_function() != NULL) {
+ if (func.kernel_offset() > 0) {
result = kernel::BuildParameterDescriptor(func);
} else {
result = Parser::ParseFunctionParameters(func);

Powered by Google App Engine
This is Rietveld 408576698