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

Unified Diff: runtime/vm/intrinsifier.cc

Issue 860963002: Refactor _ByteDataView.[set|get]* methods to improve their performance. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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/vm/intrinsifier.cc
diff --git a/runtime/vm/intrinsifier.cc b/runtime/vm/intrinsifier.cc
index b0802bafb93ab4f5d76560ca387e5b7038fb8249..a9c399475bdbb81db602727e1dcaeef5f45a3a90 100644
--- a/runtime/vm/intrinsifier.cc
+++ b/runtime/vm/intrinsifier.cc
@@ -141,9 +141,9 @@ bool Intrinsifier::GraphIntrinsify(ParsedFunction* parsed_function,
FlowGraph* graph = new FlowGraph(parsed_function, graph_entry, block_id);
const Function& function = parsed_function->function();
switch (function.recognized_kind()) {
-#define EMIT_CASE(test_class_name, test_function_name, enum_name, fp) \
+#define EMIT_CASE(class_name, function_name, enum_name, fp) \
case MethodRecognizer::k##enum_name: \
- ASSERT(function.CheckSourceFingerprint(fp)); \
+ CHECK_FINGERPRINT3(function, class_name, function_name, enum_name, fp); \
if (!Build_##enum_name(graph)) return false; \
break;
@@ -185,9 +185,9 @@ void Intrinsifier::Intrinsify(ParsedFunction* parsed_function,
return;
}
-#define EMIT_CASE(test_class_name, test_function_name, enum_name, fp) \
+#define EMIT_CASE(class_name, function_name, enum_name, fp) \
case MethodRecognizer::k##enum_name: \
- ASSERT(function.CheckSourceFingerprint(fp)); \
+ CHECK_FINGERPRINT3(function, class_name, function_name, enum_name, fp); \
compiler->assembler()->Comment("Intrinsic"); \
enum_name(compiler->assembler()); \
break;

Powered by Google App Engine
This is Rietveld 408576698