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

Unified Diff: test/cctest/interpreter/test-interpreter.cc

Issue 1369973002: Use FeedbackVectorSlotKind instead of Code::Kind for type feedback vector. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « test/cctest/interpreter/test-bytecode-generator.cc ('k') | test/cctest/test-feedback-vector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/interpreter/test-interpreter.cc
diff --git a/test/cctest/interpreter/test-interpreter.cc b/test/cctest/interpreter/test-interpreter.cc
index 701a369280b27870dae1443174beadbdb159dc59..7edf8d737e58d4838544924d55430440e3f9e7f1 100644
--- a/test/cctest/interpreter/test-interpreter.cc
+++ b/test/cctest/interpreter/test-interpreter.cc
@@ -552,7 +552,7 @@ TEST(InterpreterLoadNamedProperty) {
i::Isolate* isolate = handles.main_isolate();
i::Factory* factory = isolate->factory();
- i::Code::Kind ic_kinds[] = {i::Code::LOAD_IC};
+ i::FeedbackVectorSlotKind ic_kinds[] = {i::FeedbackVectorSlotKind::LOAD_IC};
i::FeedbackVectorSpec feedback_spec(0, 1, ic_kinds);
Handle<i::TypeFeedbackVector> vector =
factory->NewTypeFeedbackVector(&feedback_spec);
@@ -606,7 +606,8 @@ TEST(InterpreterLoadKeyedProperty) {
i::Isolate* isolate = handles.main_isolate();
i::Factory* factory = isolate->factory();
- i::Code::Kind ic_kinds[] = { i::Code::KEYED_LOAD_IC };
+ i::FeedbackVectorSlotKind ic_kinds[] = {
+ i::FeedbackVectorSlotKind::KEYED_LOAD_IC};
i::FeedbackVectorSpec feedback_spec(0, 1, ic_kinds);
Handle<i::TypeFeedbackVector> vector =
factory->NewTypeFeedbackVector(&feedback_spec);
@@ -648,7 +649,7 @@ TEST(InterpreterStoreNamedProperty) {
i::Isolate* isolate = handles.main_isolate();
i::Factory* factory = isolate->factory();
- i::Code::Kind ic_kinds[] = {i::Code::STORE_IC};
+ i::FeedbackVectorSlotKind ic_kinds[] = {i::FeedbackVectorSlotKind::STORE_IC};
i::FeedbackVectorSpec feedback_spec(0, 1, ic_kinds);
Handle<i::TypeFeedbackVector> vector =
factory->NewTypeFeedbackVector(&feedback_spec);
@@ -708,7 +709,8 @@ TEST(InterpreterStoreKeyedProperty) {
i::Isolate* isolate = handles.main_isolate();
i::Factory* factory = isolate->factory();
- i::Code::Kind ic_kinds[] = {i::Code::KEYED_STORE_IC};
+ i::FeedbackVectorSlotKind ic_kinds[] = {
+ i::FeedbackVectorSlotKind::KEYED_STORE_IC};
i::FeedbackVectorSpec feedback_spec(0, 1, ic_kinds);
Handle<i::TypeFeedbackVector> vector =
factory->NewTypeFeedbackVector(&feedback_spec);
@@ -755,7 +757,7 @@ TEST(InterpreterCall) {
i::Isolate* isolate = handles.main_isolate();
i::Factory* factory = isolate->factory();
- i::Code::Kind ic_kinds[] = { i::Code::LOAD_IC };
+ i::FeedbackVectorSlotKind ic_kinds[] = {i::FeedbackVectorSlotKind::LOAD_IC};
i::FeedbackVectorSpec feedback_spec(0, 1, ic_kinds);
Handle<i::TypeFeedbackVector> vector =
factory->NewTypeFeedbackVector(&feedback_spec);
« no previous file with comments | « test/cctest/interpreter/test-bytecode-generator.cc ('k') | test/cctest/test-feedback-vector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698