good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open
bor
Commits
89c69a1d
Commit
89c69a1d
authored
10 years ago
by
Jeffrey Wilcke
Browse files
Options
Downloads
Patches
Plain Diff
VmDebug => StdVm
parent
06bfe19f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
vm/common.go
+2
-3
2 additions, 3 deletions
vm/common.go
vm/vm.go
+945
-22
945 additions, 22 deletions
vm/vm.go
vm/vm_debug.go
+0
-961
0 additions, 961 deletions
vm/vm_debug.go
vm/vm_jit.go
+4
-4
4 additions, 4 deletions
vm/vm_jit.go
with
951 additions
and
990 deletions
vm/common.go
+
2
−
3
View file @
89c69a1d
...
...
@@ -9,11 +9,10 @@ import (
var
vmlogger
=
logger
.
NewLogger
(
"VM"
)
type
Type
int
type
Type
byte
const
(
StandardVmTy
Type
=
iota
DebugVmTy
StdVmTy
Type
=
iota
JitVmTy
MaxVmTy
...
...
This diff is collapsed.
Click to expand it.
vm/vm.go
+
945
−
22
View file @
89c69a1d
This diff is collapsed.
Click to expand it.
vm/vm_debug.go
deleted
100644 → 0
+
0
−
961
View file @
06bfe19f
This diff is collapsed.
Click to expand it.
vm/vm_jit.go
+
4
−
4
View file @
89c69a1d
...
...
@@ -3,12 +3,12 @@ package vm
import
"math/big"
type
JitVm
struct
{
env
Environment
backup
*
Debug
Vm
env
Environment
backup
*
Vm
}
func
NewJitVm
(
env
Environment
)
*
JitVm
{
backupVm
:=
New
Debug
Vm
(
env
)
backupVm
:=
NewVm
(
env
)
return
&
JitVm
{
env
:
env
,
backup
:
backupVm
}
}
...
...
@@ -28,4 +28,4 @@ func (self *JitVm) Env() Environment {
return
self
.
env
}
//go is nice
\ No newline at end of file
//go is nice
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment