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

Unified Diff: src/code-stubs.h

Issue 1222093007: Debugger: use debug break slot to break on call. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix mips Created 5 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
Index: src/code-stubs.h
diff --git a/src/code-stubs.h b/src/code-stubs.h
index c06c6c1fe498b1a9daf9314017a54d0dcf89f659..25acbf45a54214cf62f74ed408e3d826d5c79370 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -964,11 +964,6 @@ class CallICStub: public PlatformCodeStub {
minor_key_ = state.GetExtraICState();
}
- static int ExtractArgcFromMinorKey(int minor_key) {
- CallICState state(static_cast<ExtraICState>(minor_key));
- return state.arg_count();
- }
-
Code::Kind GetCodeKind() const override { return Code::CALL_IC; }
InlineCacheState GetICState() const override { return DEFAULT; }
@@ -1864,10 +1859,6 @@ class CallFunctionStub: public PlatformCodeStub {
minor_key_ = ArgcBits::encode(argc) | FlagBits::encode(flags);
}
- static int ExtractArgcFromMinorKey(int minor_key) {
- return ArgcBits::decode(minor_key);
- }
-
private:
int argc() const { return ArgcBits::decode(minor_key_); }
int flags() const { return FlagBits::decode(minor_key_); }

Powered by Google App Engine
This is Rietveld 408576698