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

Unified Diff: src/code-stubs.h

Issue 7112010: Plumbing changes to merge various element kind implementaions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: review feedback Created 9 years, 6 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 | « src/ast.cc ('k') | src/code-stubs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs.h
diff --git a/src/code-stubs.h b/src/code-stubs.h
index 087d29e302629e29cf952709e63e94db6686398d..6a7b6616df26be410f667c59aa04ab0a2da75b97 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -975,11 +975,11 @@ class KeyedStoreFastElementStub : public CodeStub {
class KeyedLoadExternalArrayStub : public CodeStub {
public:
- explicit KeyedLoadExternalArrayStub(ExternalArrayType array_type)
- : array_type_(array_type) { }
+ explicit KeyedLoadExternalArrayStub(JSObject::ElementsKind elements_kind)
+ : elements_kind_(elements_kind) { }
Major MajorKey() { return KeyedLoadExternalArray; }
- int MinorKey() { return array_type_; }
+ int MinorKey() { return elements_kind_; }
void Generate(MacroAssembler* masm);
@@ -988,17 +988,17 @@ class KeyedLoadExternalArrayStub : public CodeStub {
DECLARE_ARRAY_STUB_PRINT(KeyedLoadExternalArrayStub)
protected:
- ExternalArrayType array_type_;
+ JSObject::ElementsKind elements_kind_;
};
class KeyedStoreExternalArrayStub : public CodeStub {
public:
- explicit KeyedStoreExternalArrayStub(ExternalArrayType array_type)
- : array_type_(array_type) { }
+ explicit KeyedStoreExternalArrayStub(JSObject::ElementsKind elements_kind)
+ : elements_kind_(elements_kind) { }
Major MajorKey() { return KeyedStoreExternalArray; }
- int MinorKey() { return array_type_; }
+ int MinorKey() { return elements_kind_; }
void Generate(MacroAssembler* masm);
@@ -1007,7 +1007,7 @@ class KeyedStoreExternalArrayStub : public CodeStub {
DECLARE_ARRAY_STUB_PRINT(KeyedStoreExternalArrayStub)
protected:
- ExternalArrayType array_type_;
+ JSObject::ElementsKind elements_kind_;
};
« no previous file with comments | « src/ast.cc ('k') | src/code-stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698