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

Unified Diff: src/code-stubs.h

Issue 2184063002: [stubs] Cleanup CodeFactory. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix Created 4 years, 5 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/code-factory.cc ('k') | src/ic/ic.h » ('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 5542b428718914f0a80cab7d4b794fe4cd857aab..8a02539e069bd7d6ddee1e7a12e36ba01de0f5bf 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -1952,6 +1952,12 @@ class CompareICStub : public PlatformCodeStub {
LeftStateBits::encode(left) | RightStateBits::encode(right) |
StateBits::encode(state);
}
+ // Creates uninitialized compare stub.
+ CompareICStub(Isolate* isolate, Token::Value op)
+ : CompareICStub(isolate, op, CompareICState::UNINITIALIZED,
+ CompareICState::UNINITIALIZED,
+ CompareICState::UNINITIALIZED) {}
+
CompareICStub(Isolate* isolate, ExtraICState extra_ic_state)
: PlatformCodeStub(isolate) {
minor_key_ = extra_ic_state;
« no previous file with comments | « src/code-factory.cc ('k') | src/ic/ic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698