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

Unified Diff: src/compiler/interpreter-assembler.h

Issue 1333843002: [runtime] Move binary operator fallbacks into the runtime. (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
Index: src/compiler/interpreter-assembler.h
diff --git a/src/compiler/interpreter-assembler.h b/src/compiler/interpreter-assembler.h
index d6a75db89f840dfc7b367c0ae8dddd9e0f47461e..4fbb19cf8f0cc860e8c38c92093b716407a8e29a 100644
--- a/src/compiler/interpreter-assembler.h
+++ b/src/compiler/interpreter-assembler.h
@@ -12,6 +12,7 @@
#include "src/builtins.h"
#include "src/frames.h"
#include "src/interpreter/bytecodes.h"
+#include "src/runtime/runtime.h"
namespace v8 {
namespace internal {
@@ -86,9 +87,8 @@ class InterpreterAssembler {
Node* CallIC(CallInterfaceDescriptor descriptor, Node* target, Node* arg1,
Node* arg2, Node* arg3, Node* arg4, Node* arg5);
- // Call JS builtin.
- Node* CallJSBuiltin(int context_index, Node* receiver);
- Node* CallJSBuiltin(int context_index, Node* receiver, Node* arg1);
+ // Call runtime function.
+ Node* CallRuntime(Runtime::FunctionId function_id, Node* arg1, Node* arg2);
// Returns from the function.
void Return();
@@ -116,6 +116,9 @@ class InterpreterAssembler {
// Returns a tagged pointer to the current context.
Node* ContextTaggedPointer();
+ // Returns an empty frame (used as a placeholder until we can actuall deopt).
rmcilroy 2015/09/10 10:28:25 We will never be deopting the interpreter bytecode
Benedikt Meurer 2015/09/10 10:31:12 Hm, you're right, the frame state can be empty her
rmcilroy 2015/09/10 10:43:22 If it's safe to do this, then yeah I would be fine
+ Node* EmptyFrameState();
+
// Returns the offset of register |index| relative to RegisterFilePointer().
Node* RegisterFrameOffset(Node* index);

Powered by Google App Engine
This is Rietveld 408576698