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

Unified Diff: src/compiler/code-stub-assembler.h

Issue 1617503003: [Atomics] code stubs for atomic operations (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: remove FCG+CS intrinsic wiring, experiments with CodeStubAssembler Created 4 years, 11 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/code-stub-assembler.h
diff --git a/src/compiler/code-stub-assembler.h b/src/compiler/code-stub-assembler.h
index 6c2e299de95974c3a9502689b5398cbda08100bf..154985999feb660ea7d948acbf445ce7d475ed2b 100644
--- a/src/compiler/code-stub-assembler.h
+++ b/src/compiler/code-stub-assembler.h
@@ -9,6 +9,7 @@
// Do not include anything from src/compiler here!
#include "src/allocation.h"
#include "src/builtins.h"
+#include "src/machine-type.h"
#include "src/runtime/runtime.h"
namespace v8 {
@@ -43,7 +44,13 @@ class CodeStubAssembler {
Node* HeapConstant(Handle<HeapObject> object);
Node* BooleanConstant(bool value);
+ // Memory Operations.
+ Node* Load(MachineType rep, Node* base);
+ Node* Load(MachineType rep, Node* base, Node* index);
+
Node* Parameter(int value);
+ Node* StackArg(Node* num_args, int value);
+ Node* StackArgOrUndefined(Node* num_args, int value);
Jarin 2016/02/03 09:04:07 You should not need this, just use Parameter.
binji 2016/02/03 22:09:02 This doesn't seem to work, perhaps I'm doing it wr
Jarin 2016/02/04 05:28:01 We looked at this with Benedikt and it looks like
binji 2016/02/05 02:53:01 Thanks, that works. Done!
void Return(Node* value);
// Tag and untag Smi values.
« src/builtins.cc ('K') | « src/code-stubs.h ('k') | src/compiler/code-stub-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698